Skip to content
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

🚀 Change const to let VariableDeclarations for ESM Output #26727

Merged
merged 20 commits into from
Feb 11, 2020

Conversation

kristoferbaxter
Copy link
Contributor

Has no impact on ES5 output, but un-compressed ESM output drops by ~1% for v0.

@amp-owners-bot
Copy link

Hey @erwinmombay, these files were changed:

  • build-system/babel-plugins/babel-plugin-const-transformer/index.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/index.js

Hey @jridgewell, these files were changed:

  • build-system/babel-plugins/babel-plugin-const-transformer/index.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-let/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/ignored-var/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/input.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/options.json
  • build-system/babel-plugins/babel-plugin-const-transformer/test/fixtures/transform-assertions/should-transform/output.js
  • build-system/babel-plugins/babel-plugin-const-transformer/test/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants