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

backport: do not evaluate constants in asm.js, fix IIFE mode detection #10294

Merged
merged 3 commits into from Feb 11, 2020

Conversation

ngg
Copy link
Contributor

@ngg ngg commented Jan 23, 2020

backports PR #10288
fixes #10283

What kind of change does this PR introduce?
This PR basically disables the ConstPlugin in asm.js functions.

Did you add tests for your changes?
Yes.

Does this PR introduce a breaking change?
It should not cause any compatibility problems.

What needs to be documented once your changes are merged?
Probably 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)

@ngg ngg changed the title do not evaluate constants in asm.js, fix IIFE mode detection backport: do not evaluate constants in asm.js, fix IIFE mode detection Jan 23, 2020
@ngg ngg requested a review from sokra January 23, 2020 09:06
@webpack-bot
Copy link
Contributor

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

@sokra sokra merged commit 95409bd into webpack:webpack-4 Feb 11, 2020
@sokra
Copy link
Member

sokra commented Feb 11, 2020

Thanks

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.

None yet

3 participants