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

caniuse es6 doesn't report arrow-functions correctly #11754

Merged
merged 1 commit into from Oct 20, 2020
Merged

Conversation

sokra
Copy link
Member

@sokra sokra commented Oct 20, 2020

ie11 is an exception

fixes #11753

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
no

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
nothing

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@anton6
Copy link

anton6 commented Oct 21, 2020

When is this fix going to be published? Is it going to be part of 5.1.4?

jsnajdr added a commit to WordPress/gutenberg that referenced this pull request Oct 22, 2020
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
jsnajdr added a commit to WordPress/gutenberg that referenced this pull request Oct 27, 2020
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
jsnajdr added a commit to WordPress/gutenberg that referenced this pull request Dec 7, 2020
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
jsnajdr added a commit to WordPress/gutenberg that referenced this pull request Dec 7, 2020
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
jsnajdr added a commit to WordPress/gutenberg that referenced this pull request Dec 8, 2020
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
gziolo pushed a commit to WordPress/gutenberg that referenced this pull request Jan 3, 2021
…s can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.
gziolo added a commit to WordPress/gutenberg that referenced this pull request Jan 3, 2021
* custom-templated-path plugin: add peer dep on v5

* library-export-default plugin: add peer dep on v5

* Add target:browserslist to webpack config to specify what ES6 features can be in runtime

Tells webpack whether it can use arrow functions or `let`/`const` in the generated runtime code.
Will start really work only after the fix in webpack/webpack#11754 is
released. Until then, arrow functions are incorrectly emitted even when they shouldn't.

* Upgrade webpack and webpack-cli in package.json

* Update hash-containing test snapshots for dependency-extraction-webpack-plugin

* Update package-lock.json

* Docs: Add changelog entry for webpack major version bump

Co-authored-by: Grzegorz Ziolkowski <grzegorz@gziolo.pl>
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.

arrow functions in webpackBootstrap with browserslist: "IE >= 11"
4 participants