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.
I use the
webpack-stats-plugin
to get a json file that maps chunk names to their output files including hashes (similar torev-manifest.json
).Unfortunately, it looks like all webpack output will be passed to uglify when running with
--production
. This includes the generatedjson
file and uglify yields an exception.