JeffreyWay / laravel-elixir-webpack-official

88 stars 28 forks source link

gulp --production fails due to attempting to minify non-js files #27

Closed SebastianS90 closed 8 years ago

SebastianS90 commented 8 years ago

I use the webpack-stats-plugin to get a json file that maps chunk names to their output files including hashes (similar to rev-manifest.json).

Unfortunately, it looks like all webpack output will be passed to uglify when running with --production. This includes the generated json file and uglify yields an exception.