Skip to content

Commit feb3b5f

Browse files
committed
Update build script to minify fivg ad scripts
1 parent 94a1752 commit feb3b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"scripts": {
2929
"start": "react-scripts start",
30-
"build": "cp ./src/iconSvgPaths.js ./node_modules/@blueprintjs/icons/lib/esm/generated/iconSvgPaths.js && REACT_APP_API_PREFIX='/api' react-scripts build",
30+
"build": "cp ./src/iconSvgPaths.js ./node_modules/@blueprintjs/icons/lib/esm/generated/iconSvgPaths.js && REACT_APP_API_PREFIX='/api' react-scripts build && uglifyjs --compress --mangle -o build/fivg/970_250.js -- build/fivg/970_250.js && uglifyjs --compress --mangle -o build/fivg/300_250.js -- build/fivg/300_250.js",
3131
"test": "react-scripts test --env=jsdom",
3232
"eject": "react-scripts eject"
3333
},

0 commit comments

Comments
 (0)