-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Enable transpiling node_modules #7399
Conversation
|
Benchmark ResultsKitchen Sink ✅
Timings
Cold BundlesNo bundle changes detected. Cached BundlesNo bundle changes detected. React HackerNews ✅
Timings
Cold BundlesNo bundle changes detected. Cached BundlesNo bundle changes detected. AtlasKit Editor ✅
Timings
Cold BundlesNo bundle changes detected. Cached Bundles
Three.js ✅
Timings
Cold BundlesNo bundle changes detected. Cached BundlesNo bundle changes detected. |
Some benchmark data for comparison. All done with the Atlaskit Editor benchmark in the parcel-benchmark-action repo, with Before (v2): 5.24s With |
Fixes #1655. Fixes #6749.
This enables transpiling node_modules using SWC's version of preset-env. Therefore, only standard JS syntax is allowed (no JSX, TypeScript, etc.). However, this is important as more modules on npm start publishing modern syntax rather than ES5. And now that we are using SWC and not Babel, the performance hit should be minimal.
Needs testing on real world projects (please help!), and perf testing as well.