Open sawyna opened 5 years ago
Using aircall-everywhere npm module requires the user to transpile the code to es5 for uglifyjs plugin to work. Reference.
aircall-everywhere
Currently I use the above suggested approach allowing my babel transpile to include aircall-everywhere module like this.
rules: [ { test: /\.js*$/, exclude: /node_modules\/(?!(aircall-everywhere))/, loader: 'babel-loader', query: { presets: ['env', 'react'], "plugins": ["transform-object-rest-spread"] } }, Rest of my webpack config follows
It would be nice to transpile the code to es5 and then publish to npm.
Thanks for the message. I'll look into it
Using
aircall-everywhere
npm module requires the user to transpile the code to es5 for uglifyjs plugin to work. Reference.Currently I use the above suggested approach allowing my babel transpile to include
aircall-everywhere
module like this.It would be nice to transpile the code to es5 and then publish to npm.