-
-
Notifications
You must be signed in to change notification settings - Fork 165
feat: let a generator say what is worth writing, and minify nothing #742
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
52e2cf5
feat: let a generator say what is worth writing, and minify nothing
alexander-akait c83fa0e
fix: do not salt the chunk hash when nothing minifies
alexander-akait 2738ab5
test: record what `minify` now accepts in the validation snapshot
alexander-akait 4139a06
test: cover the two lines this change left unrun
alexander-akait 062fd5f
feat: let a minimizer write beside the asset it read
alexander-akait a395fc2
fix: a file written beside an asset inherits nothing from it
alexander-akait 2e05097
revert: compressing an asset is generating one, not minifying it
alexander-akait 6709943
fix: the default minifier and its test stand whether or not a generat…
alexander-akait c1a6f43
fix: do not salt the hash of a chunk no minimizer would be handed
alexander-akait 2863339
test: cover reading a chunk's name off a template, and drop what cann…
alexander-akait 47578e5
refactor: drop the minimizer list helper nothing calls any more
alexander-akait 4bf096c
fix: four things an automated review was right about
alexander-akait 0062a9f
test: one tap per stage asked for, and one where they coincide
alexander-akait df25a57
test: everything asking for one stage shares one tap
alexander-akait a6047ae
fix: a minimizer does not read a file this plugin generated
alexander-akait b50063e
fix: a generated file keeps nothing its name carried before
alexander-akait 214b37e
fix: keep a generated file written under the original's own name
alexander-akait File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "minimizer-webpack-plugin": minor | ||
| --- | ||
|
|
||
| Add `threshold`, `minRatio` and `relatedName` to an `asset` generator, and stop `minify` from taking `false`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.