Closed isaacrlevin closed 7 years ago
If you have an UglifyJs configuration in your build prod config, running Build Prod will get an "Cannot read property 'sections' of null" error
Create basic Prod Build config with UglifyJs configuration, here is what I have that errors
` new UglifyJsPlugin({
beautify: false, //prod mangle: { screw_ie8 : true, keep_fnames: true, except: ['$super'] }, //prod compress: { screw_ie8: true }, //prod comments: false //prod }),`
Causes error on task run, error is above
No Errors on task run
fixed with #40
Installed product versions
Description
If you have an UglifyJs configuration in your build prod config, running Build Prod will get an "Cannot read property 'sections' of null" error
Steps to recreate
Create basic Prod Build config with UglifyJs configuration, here is what I have that errors
` new UglifyJsPlugin({
Current behavior
Causes error on task run, error is above
Expected behavior
No Errors on task run