Skip to content

plugin-legacy misunderstand #20330

Answered by sapphi-red
rodriciru asked this question in Q&A
Discussion options

You must be logged in to vote

||= is supported by Firefox 79+, not 69+.

So, I want the main build to have ||= and the legacy build to have the pollyfied version of that.

This is impossible currently. #6922 needs to be implemented to control the threshold.

Now I open Firefox 68 and because it passes all test for modern build, it will load the main build and fail because it don't understand ||=

I guess you set modernTargets. That should output a warning that some browsers wouldn't work (plugin-legacy 'modernTargets' option overrode the builtin targets of modern chunks. Some versions of browsers between legacy and modern may not be supported.).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rodriciru
Comment options

Answer selected by rodriciru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants