--stats-json not producing file code example
Example: webpack-bundle-analyzer no stats.json file
npm run build -- --statsJson=true
// Output json file name has been renamed to stats-es2015.json
npm run build -- --statsJson=true
// Output json file name has been renamed to stats-es2015.json