-
Notifications
You must be signed in to change notification settings - Fork 18
Add WebP support and update dependencies #486
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
cedric07
wants to merge
14
commits into
master
Choose a base branch
from
feat/webp
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+23
−75
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9fcfdff
Add WebP support and update dependencies
cedric07 3e32fe9
fix(webpack): register WebP imagemin in plugins for dev, avoid duplic…
firestar300 e073cce
remove: delete unused background-static SCSS mixin
cedric07 bcc4162
Add WebpackStaticImagesPlugin to handle static image processing
cedric07 e66b288
feat(webpack): optimize static image processing in watch mode
firestar300 269fafd
feat(webpack): use byte-for-byte copy for original images in static p…
firestar300 8f63330
refactor: remove JPEG images and update to WebP format
cedric07 eda3d62
refactor: remove WebpackStaticImagesPlugin and its configuration
cedric07 a18e12f
refactor: update SVGO configuration for compatibility with SVGO 3
cedric07 6ff65b4
fix svgo config comment
cedric07 3004476
feat(svgo): add 'removeTitle' plugin to SVGO configuration
cedric07 559d8e5
update package-json lock
cedric07 0f068df
fix bugbot (webpack): register ImageMinimizerPlugin in optimization.m…
cedric07 440fb54
chore: remove unused imagemin-webp and related dependencies from pack…
cedric07 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
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 |
|---|---|---|
| @@ -1,38 +1,17 @@ | ||
| module.exports = { | ||
| plugins: [ | ||
| { cleanupAttrs: true }, | ||
| { removeDoctype: true }, | ||
| { removeXMLProcInst: true }, | ||
| { removeComments: true }, | ||
| { removeMetadata: true }, | ||
| { removeTitle: true }, | ||
| { removeDesc: true }, | ||
| { removeUselessDefs: true }, | ||
| { removeEditorsNSData: true }, | ||
| { removeEmptyAttrs: true }, | ||
| { removeHiddenElems: true }, | ||
| { removeEmptyText: true }, | ||
| { removeEmptyContainers: true }, | ||
| { cleanupEnableBackground: true }, | ||
| { convertStyleToAttrs: true }, | ||
| { convertColors: true }, | ||
| { convertPathData: true }, | ||
| { convertTransform: true }, | ||
| { removeUnknownsAndDefaults: true }, | ||
| { removeNonInheritableGroupAttrs: true }, | ||
| { removeUselessStrokeAndFill: true }, | ||
| { removeUnusedNS: true }, | ||
| { cleanupIDs: true }, | ||
| { cleanupNumericValues: true }, | ||
| { moveElemsAttrsToGroup: true }, | ||
| { moveGroupAttrsToElems: true }, | ||
| { collapseGroups: true }, | ||
| { removeRasterImages: false }, | ||
| { mergePaths: true }, | ||
| { convertShapeToPath: true }, | ||
| { sortAttrs: true }, | ||
| { removeDimensions: false }, | ||
| { prefixIds: true }, | ||
| { removeViewBox: false }, | ||
| { | ||
| name: 'preset-default', | ||
| params: { | ||
| overrides: { | ||
| // Disable a plugin included by default that you don't want (false) | ||
| removeViewBox: false, | ||
| }, | ||
| }, | ||
| }, | ||
| // Plugins that are not in the "preset-default" and that you want to activate | ||
| 'removeTitle', | ||
| 'convertStyleToAttrs', | ||
| 'prefixIds', | ||
| ], | ||
| } |
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
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
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
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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.
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.