Skip to content

Allow for multiple Performance Budgets #7753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Zeracy opened this issue Jul 20, 2018 · 6 comments
Open

Allow for multiple Performance Budgets #7753

Zeracy opened this issue Jul 20, 2018 · 6 comments

Comments

@Zeracy
Copy link

Zeracy commented Jul 20, 2018

Feature request

What is the expected behavior?
Currently the performance budget plugin only accepts one configuration for assets in general.
It should be possible to assign a performance budget for each different type of assets.

What is motivation or use case for adding/changing the behavior?
If you want to have two different budgets for distinct types of files, it is currently not possible.

How should this be implemented in your opinion?
The old implementation should still work, but it should be possible to instead add an array of of budget objects if you wish to set several budgets.

Are you willing to work on this yourself?
yes

@sokra
Copy link
Member

sokra commented Jul 20, 2018

sounds good, send a PR

@Zeracy
Copy link
Author

Zeracy commented Jul 23, 2018

@sokra there was an issue with the account I used to commit my previous PR (#7752). This one should work: #7769

@webpack-bot
Copy link
Contributor

This issue had no activity for at least half a year.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@webpack-bot
Copy link
Contributor

This issue had no activity for at least three months.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@alexander-akait
Copy link
Member

bump

@webpack-bot
Copy link
Contributor

Issue was closed because of inactivity.

If you think this is still a valid issue, please file a new issue with additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants