/webpack-babel-env-deps

Find dependencies to transpile with Babel.

Primary LanguageJavaScriptMIT LicenseMIT

webpack-babel-env-deps

Find dependencies to transpile with Babel.

📖 Read the docs!

A webpack helper to find dependencies of your project that require transpilation with Babel (and @babel/preset-env) by comparing your minimum Node.js engine against theirs (engines in package.json), and/or by determining their minimum Node.js engine or published ES2015/ES6+ source (module/jsnext:main in package.json) to require features provided by plugins and polyfills from @babel/preset-env.