Core-js: [Question] client/core.js vs client/library.js vs client/shim.js

Created on 10 Apr 2019  路  4Comments  路  Source: zloirock/core-js

Hi! :)

In the built package, how are the three different? :thinking:

question

Most helpful comment

Not exactly.

client/shim.js (v2) = core-js (v3) = core-js-bundle (v3)

Non-standard featured were finally removed from core-js@3.

All 4 comments

It's related to core-js@2. client/core.js is a bundle of the full global version, with some non-standard features. client/shim.js is a bundle of the global version only with polyfills. client/library.js is a bundle of the version without global namespace pollution.

In core-js@3 they were removed from the main package. The core-js-bundle package is an equal of client/shim.js from core-js@2.

Ok, thank you. I just need a little more clarification on this:

client/shim.js is a bundle of the global version only with polyfills.

Does this mean client/shim.js (v2) = core-js/stable (v3) + polyfills = core-js-bundle (v3)?

Not exactly.

client/shim.js (v2) = core-js (v3) = core-js-bundle (v3)

Non-standard featured were finally removed from core-js@3.

Thank you, it's pretty much clear now. 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kalvenschraut picture kalvenschraut  路  6Comments

Sequoia picture Sequoia  路  5Comments

straczowski picture straczowski  路  4Comments

ustccjw picture ustccjw  路  4Comments

fender picture fender  路  5Comments