Skip to content
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

Skip bundle minifying if all the inputs are older than the minified file #438

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

NicolasDorier
Copy link
Contributor

BundlerMinifier is adding 6 sec to our build time, even if no file have changed.
If a CS file is changed in our project and we rebuild, BundleMinifier is accounting for 30% of the build time.

This is a significant hurdle on the code/debug feedback loop in our project.

This PR skip minification if all the inputs are older than the existing minified file.

@madskristensen madskristensen merged commit 122b9f2 into madskristensen:master Aug 30, 2019
@madskristensen
Copy link
Owner

Thanks

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

Successfully merging this pull request may close these issues.

None yet

2 participants