Issue description
If there as build hash in webpack's output path, I get following error from WBA:
Error parsing bundle asset "/xxx/app/dist/[hash]/app.js": no such file.
My webpack output config:
output: {
filename: '[name].js',
path: path.join(__dirname, './dist/[hash]/'),
publicPath: `${cdnPublicPath}[hash]/`,
chunkFilename: '[name].js',
},
This causes that there is no gziped/parsed size on the WBA page.
Technical info
- Webpack Bundle Analyzer version: 3.3.2
- Webpack version: 4.35.0
- Node.js version: 10.13
- npm/yarn version: npm 6.9
- OS: Mac OS Mojave
Debug info
How do you use this module? As CLI utility or as plugin?
Plugin
If plugin, what options were provided? (e.g. new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true }))
No options
What other Webpack plugins were used?
webpack.DefinePlugin
CircularDependencyPlugin
FlowStatusWebpackPlugin
ExtractCssChunks
HtmlWebpackPlugin
SpriteLoaderPlugin
Demo repo
https://github.com/martinkadlec0/wba-build-hash
Issue description
If there as build hash in webpack's output path, I get following error from WBA:
Error parsing bundle asset "/xxx/app/dist/[hash]/app.js": no such file.My webpack output config:
This causes that there is no gziped/parsed size on the WBA page.
Technical info
Debug info
How do you use this module? As CLI utility or as plugin?
Plugin
If plugin, what options were provided? (e.g.
new BundleAnalyzerPlugin({ analyzerMode: 'disabled', generateStatsFile: true }))No options
What other Webpack plugins were used?
webpack.DefinePlugin
CircularDependencyPlugin
FlowStatusWebpackPlugin
ExtractCssChunks
HtmlWebpackPlugin
SpriteLoaderPlugin
Demo repo
https://github.com/martinkadlec0/wba-build-hash