A Babel preset that enables a very small subset of ES6 features deemed essential by its authors, deliberately omitting most ES2015+ syntax. Version 1.1.1 is the latest and final release. It is an experimental, opinionated alternative to larger presets like babel-preset-env. Note: the name 'es2040' is ironic, indicating a minimal, possibly frivolous approach. The package is not actively maintained and is not recommended for new projects.
npm install babel-preset-es2040Verified import paths — ran on the pinned version, not inferred.
Install the preset, configure .babelrc to use it, and compile a JavaScript file with Babel CLI.
Migrate to babel-preset-env or a custom preset with chosen plugins.
Use { "presets": ["babel-preset-es2040"] } or switch to a compatible preset.Check the list of supported plugins in the package source, or use a more comprehensive preset.
Do not assume it provides ES2020 features; refer to source for actual plugins.
Run `npm install --save-dev babel-preset-es2040` and ensure it's in node_modules.
Change .babelrc to {"presets": ["babel-preset-es2040"]}.Use a different preset like babel-preset-env that supports the needed syntax.
No dependency data recorded yet.