-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Migrate CommonJS to ES2015 module notation (imports and exports) #11688
Comments
Update: named export generation codemod has been enhanced. |
Update: |
Update: Added progress update for 04/17/2017 covering |
Update: Removed all mentions of |
This issue is in a good place to close for now. If anyone has any interest in picking up the backburner items, please ping! |
Context
Porting CommonJS modules to ES2015 modules will allow us to take advantage of Webpack 2's tree shaking optimization.
Status
Completed
client/
function
s toexport function
sIn review
Backburner
run-codemods
Add run-codemods script #13163)Logs and Notes
Initial impressions
We have many occurrences of conditional imports and imports inside blocks. Neither of these are allowed in ES modules, so we'll need to migrate these eventually.
controller.js
files.Progress - 03/01/2017
Progress - 03/24/2017
Progress - 04/04/2017
import
,export
, andexport name generation
) run error-free for files insideclient/
.Progress - 04/17/2017
run-codemods
into a separate PR.The text was updated successfully, but these errors were encountered: