webpack-contrib / babel-minify-webpack-plugin

[DEPRECATED] Babel Minify Webpack Plugin
MIT License
491 stars 44 forks source link

Problem in strict-mode with ejs-templates #74

Closed misantronic closed 6 years ago

misantronic commented 6 years ago

In my project I use ejs-template which are compiled with _.template which makes use of the with-statement. This is not allowed in strict-mode so obviously babel-minify fails. Is there a way to tell babel to ignore this?

alexander-akait commented 6 years ago

@misantronic Thanks for issue, but not related to this repo. Please create this issue here https://github.com/babel/minify/tree/master/packages/babel-preset-minify