-
Notifications
You must be signed in to change notification settings - Fork 8.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
[babel] tweak babel options for performance and debugging #11535
Conversation
1a7fe50
to
f6ea8ad
Compare
jenkins, test this |
Nice. Before:
After:
|
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.
One comment. Tested with x-pack, things are functioning.
package.json
Outdated
@@ -98,14 +98,16 @@ | |||
"babel-jest": "19.0.0", | |||
"babel-loader": "6.2.10", | |||
"babel-plugin-add-module-exports": "0.2.1", | |||
"babel-plugin-syntax-dynamic-import": "^6.18.0", | |||
"babel-plugin-transform-async-generator-functions": "^6.24.1", |
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.
should these be locked to the patch version?
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, sorry, I've been using yarn which doesn't do this because of yarn.lock
acfb7e0
to
14c91a7
Compare
package.json
Outdated
"babel-plugin-transform-async-generator-functions": "6.24.1", | ||
"babel-plugin-transform-class-properties": "6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "6.23.0", | ||
"babel-plugin-transform-unicode-property-regex": "2.0.1", |
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.
Is babel-plugin-transform-unicode-property-regex
and babel-plugin-syntax-dynamic-import
used?
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.
Nope!
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 was originally basing the list of plugins off of babel#master, rather than the released versions
EDIT: Bah, I was checking in |
) * [babel] tweak babel options for performance and debugging * [babel] remove babel-plugin-transform-export-extensions * [npm] lock new deps to the patch version * [npm] remove unused deps (cherry picked from commit 36ecf13)
) * [babel] tweak babel options for performance and debugging * [babel] remove babel-plugin-transform-export-extensions * [npm] lock new deps to the patch version * [npm] remove unused deps (cherry picked from commit 36ecf13)
Closes #9472
babel-preset-env
'suseBuiltIns
option which trims the core-js polyfills to just those necessary for the current node versionbabel-plugin-transform-class-properties