bablified distributable
Closed this issue · 1 comments
drcmda commented
This dependency currently crashes webpacks uglify if exclude "node_modules" is given, which most projects still seem to do. It would be nice if it had a bablified distributable.
sindresorhus commented
This module mainly targets Node.js, not the browser. It's up to you to transpile it with Babel if you want to use it in the browser. You can find a more detailed explanation here: sindresorhus/ama#446
If you use Webpack, check out babel-engine-plugin
, which transpiles only the dependencies that needs to be transpiled.