File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 6060 "compression" : " ^1.6.2" ,
6161 "conventional-changelog-cli" : " ^1.3.1" ,
6262 "css-loader" : " ^0.28.4" ,
63+ "cssunminifier" : " ^0.0.2" ,
6364 "dev-novel" : " ^0.0.3" ,
6465 "doctoc" : " ^1.3.0" ,
6566 "enzyme" : " ^2.7.1" ,
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ mkdir -p dist dist-es5-module es
77
88echo " ➡️ Bundle instantsearch.js to UMD build './dist' via webpack"
99NODE_ENV=production BABEL_ENV=production webpack --config scripts/webpack.config.js --hide-modules
10+ cssunminifier dist/instantsearch.min.css dist/instantsearch.css &
11+ cssunminifier dist/instantsearch-theme-algolia.min.css dist/instantsearch-theme-algolia.css
12+
13+ wait
1014
1115printf " dist/instantsearch.min.js gzipped will weight ` cat dist/instantsearch.min.js | gzip -9 | wc -c | pretty-bytes` \n\n"
1216
Original file line number Diff line number Diff line change @@ -2450,6 +2450,10 @@ cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
24502450 dependencies :
24512451 cssom "0.3.x"
24522452
2453+ cssunminifier@^0.0.2 :
2454+ version "0.0.2"
2455+ resolved "https://registry.yarnpkg.com/cssunminifier/-/cssunminifier-0.0.2.tgz#96e8708e8fa79fa05ffa8db8984a299220e49abc"
2456+
24532457ctype@0.5.3 :
24542458 version "0.5.3"
24552459 resolved "https://registry.yarnpkg.com/ctype/-/ctype-0.5.3.tgz#82c18c2461f74114ef16c135224ad0b9144ca12f"
You can’t perform that action at this time.
0 commit comments