A Babel preset that includes all ES2015 plugins except babel-plugin-transform-es2015-modules-commonjs, preserving native ES module syntax. Version 6.9.4 is the final release and is deprecated as of Babel 6. It was designed to enable tree-shaking with webpack 2 and Babel 6 by keeping import/export statements intact. The same functionality is now achieved natively via the `modules: false` option in the `es2015` preset. No longer maintained; users should migrate to modern Babel configurations.
npm install babel-preset-es2015-native-modulesVerified import paths — ran on the pinned version, not inferred.
Shows installation and usage in .babelrc, plus migration hint to modern config.
Replace with `['es2015', { modules: false }]` or better, `['@babel/preset-env', { modules: false }]`Upgrade to @babel/preset-env with `modules: false` and webpack 4+.
Run `npm install --save-dev babel-preset-es2015-native-modules`
Do not use this preset with Babel 7; use @babel/preset-env instead.