File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6
6
"decodeEntities" : true ,
7
7
"html5" : true ,
8
8
"includeAutoGeneratedTags" : false ,
9
+ "minifyCSS" : true ,
10
+ "minifyJS" : true ,
9
11
"preserveLineBreaks" : false ,
10
12
"preventAttributesEscaping" : true ,
11
13
"removeAttributeQuotes" : true ,
Original file line number Diff line number Diff line change 3
3
"scripts" : {
4
4
"lint" : " markdownlint \" src/**/*.md\" " ,
5
5
"eleventy" : " eleventy" ,
6
- "html" : " html-minifier --config-file=.html-minifier.json --input-dir=dist --output-dir=dist --file-ext=html" ,
6
+ "html" : " html-minifier-terser --config-file=.html-minifier.json --input-dir=dist --output-dir=dist --file-ext=html" ,
7
7
"css" : " postcss src/_css/main.css --output dist/_css/main.css && postcss src/_css/feature-support.css --output dist/_css/feature-support.css" ,
8
8
"js" : " shx mkdir -p dist/_js && terser src/_js/main.mjs -cm --module -o dist/_js/main.mjs && terser src/_js/legacy.js -cm -o dist/_js/legacy.js" ,
9
9
"json" : " json-minify src/.webmanifest > dist/.webmanifest" ,
45
45
"get-video-dimensions" : " ^1.0.0" ,
46
46
"glob" : " ^7.1.6" ,
47
47
"he" : " ^1.2.0" ,
48
- "html-minifier" : " ^4.0.0 " ,
48
+ "html-minifier-terser " : " ^5.1.1 " ,
49
49
"husky" : " ^4.2.5" ,
50
50
"image-size" : " ^0.8.3" ,
51
51
"json-minify" : " ^1.0.0" ,
You can’t perform that action at this time.
0 commit comments