bundle-analyzer icon indicating copy to clipboard operation
bundle-analyzer copied to clipboard

Error: request entity too large

Open a-axton opened this issue 5 years ago • 1 comments

I just added production source maps to our webpack build and started getting an error that the request entity is too large. I noticed that this lib is sending every file that webpack processes to the server. I'm guessing that the source map files are being sent over too which causes this error to occur.

I'm not sure how other people are using this lib but I really only care about the files that have budgets and I don't really need info on the other files.

Maybe there could be some sort of filter or ignore list that we could specify in the plugin options. Something like

new BundleAnalyzerPlugin({
   token: '<repository-token>',
   ignore: ['*.js.map', '*.{jpg,png}']
})

a-axton avatar Jun 30 '20 20:06 a-axton

Hello, I actually don't have time to maintain this project, I am looking for maintainers.

gregberge avatar Jul 27 '20 14:07 gregberge