Skip to content

Commit d49887a

Browse files
TCA-508 #comment This commit adds a post build script to create gzip versions of the js and css files #time 30m
1 parent b6d6c74 commit d49887a

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
@@ -7,6 +7,7 @@
77
"start": "sh start-ssl.sh",
88
"start:brooke": "sudo sh start-ssl-brooke.sh",
99
"build": "yarn react-app-rewired build",
10+
"postbuild": "gzip build/static/js/*.js && gzip build/static/css/*.css",
1011
"lint": "tslint 'src-ts/**/*.{ts,tsx}' && eslint 'src*/**/*.{js,jsx,ts,tsx}'",
1112
"lint:fix": "tslint 'src-ts/**/*.{ts,tsx}' --fix && eslint 'src*/**/*.{js,jsx,ts,tsx}' --fix",
1213
"tslint": "tslint 'src-ts/**/*.{ts,tsx}'",

0 commit comments

Comments
 (0)