Closed d8vjork closed 6 years ago
UglifyJS has problems with understanding ES6 code. Try https://github.com/webpack-contrib/babel-minify-webpack-plugin instead of uglifyJS
Ok, I'll try next build, thank you so much @ritz078
Is there still an issue ?
Nop, solved! :+1:
https://github.com/ritz078/embed-js/blob/0db7d39597f659768b42adca06c12a854a8c0adc/packages/embed-plugin-utilities/src/insert.js#L7