-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build for a more modern target #1286
Conversation
Job #118: Bundle Size — 849.39KiB (-23.94%).Warning Bundle contains 5 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
View job #118 report View pr/modern-target branch activity View project dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind adding a changeset before merging this? Otherwise looks great!
@@ -27,7 +28,7 @@ | |||
"firefox": "npm run build:dev -- --watch --env TARGET=firefox", | |||
"format": "prettier --write .", | |||
"check:format": "prettier --check .", | |||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx", | |||
"lint": "ESLINT_USE_FLAT_CONFIG=true yarn eslint src", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL
tsconfig.json
Outdated
@@ -1,13 +1,15 @@ | |||
{ | |||
"compilerOptions": { | |||
"allowJs": true, | |||
"checkJs": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might be causing problems with the all-clients
package since it uses .mjs
with import attributes. I can get this to build if I remove this line (though I understand why you enabled it). Just an FYI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... let's skip it for now.
🎉