Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Commit

Permalink
Adjust default .hugulprc
Browse files Browse the repository at this point in the history
Ref #22
  • Loading branch information
jbrodriguez committed Dec 12, 2017
1 parent 358403d commit 1bd49dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function init() {
}

const config = {
version: 1,
version: 2,
pipeline: ['images', 'styles', 'scripts', 'fingerprint', 'html'],
path: {
styles: 'styles',
Expand All @@ -44,6 +44,12 @@ function init() {
htmlmin: {
collapsedWhitespace: true,
removeEmptyElements: true
},
gifsicle: { interlaced: true },
jpegtran: { progressive: true },
optipng: { optimizationLevel: 5 },
svgo: {
plugins: [{ removeViewBox: true }, { cleanupIDs: false }]
}
}

Expand Down

0 comments on commit 1bd49dc

Please sign in to comment.