Skip to content

what's the equivalent usage with the { version: 3, proposals: true }? #1349

Closed Answered by zloirock
mrdulin asked this question in Q&A
Discussion options

You must be logged in to vote

proposals option makes no sense for useBuiltIns: entry since that replaces the import of any core-js entry to the import only required modules for your target environments.

In core-js@3, import "core-js" is a full equal of import "core-js/full". In core-js@4 it will be changed and import "core-js" will be equal of import "core-js/actual" ("stable" + stage 3 proposals).

It seems your question is related to useBuiltIns: usage and core-js@3. In this case, with proposals: true used core-js / core-js/full subset of features, with proposals: false (default) - core-js/stable subset.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by zloirock
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