Skip to content

Commit e9f7544

Browse files
committed
Add gzip task for production, fixes #712 (#713)
1 parent 8527386 commit e9f7544

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"build": "node build.js",
88
"serve": "node server.js",
9+
"gzip": "find -E build -type f -regex '.*(html|css|js|xml|json)$' -exec gzip -kf9 {} \\;",
910
"load-versions": "node scripts/load-versions.js",
1011
"start": "npm run serve",
1112
"test": "npm run test:lint && npm run test:unit && npm run test:smoke",

0 commit comments

Comments
 (0)