Skip to content

Commit

Permalink
only resize some images
Browse files Browse the repository at this point in the history
Signed-off-by: Try Ajitiono <ballinst@gmail.com>
  • Loading branch information
imballinst committed Oct 4, 2020
1 parent 79b69a7 commit 3fdeb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snowpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
'snowpack-plugin-imagemin',
{
/* see "Plugin Options" below */
include: ['**/*.jpg', '**/*.png'],
include: ['src/images/*.jpg', 'src/images/*.png'],
plugins: [
require('imagemin-mozjpeg')({ quality: 90, progressive: true }),
require('imagemin-optipng')({ optimizationLevel: 7 })
Expand Down

0 comments on commit 3fdeb99

Please sign in to comment.