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

Make pre-publish.js ES5 compatible #1393

Merged
merged 1 commit into from
Feb 19, 2022
Merged

Conversation

unformatt
Copy link
Contributor

pre-publish.js injects code that circumvents webpack's target option. Meaning, if you specify in webpack target = ['web', 'es5'] and are expecting an es5-compatible bundle, the bundle will be broken because of the const injected here; const is not es5.

@cookpete cookpete merged commit 83d3cde into cookpete:master Feb 19, 2022
@unformatt unformatt deleted the patch-1 branch February 19, 2022 16:44
@cookpete
Copy link
Owner

Published in 2.10.0

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

Successfully merging this pull request may close these issues.

2 participants