Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Error: request entity too large #38

@a-axton

Description

@a-axton

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}']
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions