Skip to content

Make pre-publish.js ES5 compatible#1393

Merged
cookpete merged 1 commit into
cookpete:masterfrom
unformatt:patch-1
Feb 19, 2022
Merged

Make pre-publish.js ES5 compatible#1393
cookpete merged 1 commit into
cookpete:masterfrom
unformatt:patch-1

Conversation

@unformatt

Copy link
Copy Markdown
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
Copy Markdown
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