Writing documents
The documentation is under active construction. If you want to help, you can start with the following:
Less than 1 minute
The documentation is under active construction. If you want to help, you can start with the following:
packages/core-js/modules
directory.packages/core-js/internals
directory. Reuse already existing helpers.internals/export
helper. Use something else only if this helper is not applicable - for example, if you want to polyfill accessors.internals/is-pure
is enough), you can add it to packages/core-js-pure/override
directory. The rest parts of core-js-pure
will be copied from core-js
package.tests/compat/tests.js
, add the compatibility data to packages/core-js-compat/src/data.mjs
, how to do it see here, and the name of the polyfill module to packages/core-js-compat/src/modules-by-versions.mjs
(this data is also used for getting the default list of polyfills at bundling and generation indexes).tests/unit-global
and tests/unit-pure
.tests/entries/unit.mjs
.Before testing, you should install dependencies:
npm i
core-js-compat
Tips
If you have no access to all required browsers / versions of browsers, use Sauce Labs, BrowserStack or Cloud Browser.
Contributions are always welcome. Feel free to ask @zloirock if you have some questions.
There is always some "help wanted" issues. You can look at them first. Sure, other help is also required - you could ask @zloirock about it or open issues if you have some ideas.