Skip to content

Commit 5fbb5c9

Browse files
author
Edvinas Jurele
committed
Add build:deploy task, compress css on build-css
1 parent 9c1d701 commit 5fbb5c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
"react-scripts": "1.1.1"
1515
},
1616
"scripts": {
17-
"build-css": "node-sass-chokidar src/ -o src/",
17+
"build-css": "node-sass-chokidar src/ -o src/ --output-style compressed",
1818
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive --output-style compressed",
1919
"start-js": "react-scripts start",
2020
"start": "npm-run-all -p watch-css start-js",
2121
"build-js": "react-scripts build",
2222
"build": "npm-run-all build-css build-js",
23+
"build:deploy": "PUBLIC_URL=/teleloto-crossout/ npm-run-all build-css build-js",
2324
"test": "react-scripts test --env=jsdom",
2425
"eject": "react-scripts eject",
2526
"lint": "eslint src"

0 commit comments

Comments
 (0)