- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 502
Closed
Labels
Description
Issue description
Hello. When using the plugin the bundle analyzer displays everything correctly. However, I want to use a stats.json file that I'm generating with production flags on.
Unfortunately, the page is just completely blank.
Technical info
  System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    Memory: 201.30 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.18.1 - /usr/local/bin/node
    npm: 6.14.5 - /usr/local/bin/npm
  npmPackages:
    koa-webpack: ^5.3.0 => 5.3.0
    terser-webpack-plugin: ^3.0.6 => 3.0.6
    webpack: ^4.42.0 => 4.43.0
    webpack-bundle-analyzer: ^3.8.0 => 3.8.0
    webpack-cli: ^3.3.12 => 3.3.12
    webpack-dev-server: 3.10.3 => 3.10.3
    webpack-hot-middleware: ^2.25.0 => 2.25.0
    webpack-merge: ^4.2.2 => 4.2.2
    webpack-node-externals: ^1.7.2 => 1.7.2
  npmGlobalPackages:
    webpack-bundle-analyzer: 3.8.0
Debug info
$ NODE_ENV=production `npm bin`/webpack \
  --config webpack.client.js \
  -o build/client/index.js \
  --profile --json > stats.json
$ webpack-bundle-analyzer stats.json
