Skip to content

Commit ed611c2

Browse files
gcp deploy
1 parent 440348d commit ed611c2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

craco.config-gcp.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const CracoLessPlugin = require('craco-less');
2+
3+
module.exports = {
4+
plugins: [{plugin: CracoLessPlugin}]
5+
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"start": "cross-env REACT_APP_DEV=true craco start",
88
"build": "craco build",
9+
"build:gcp": "cross-env REACT_APP_MOCK=false PUBLIC_URL=/ craco build --config craco.config-gcp.js",
910
"build:mock": "cross-env REACT_APP_DEV=true craco build",
1011
"lint": "tslint ./src/**/*.ts*",
1112
"lint:fix": "tslint ./src/**/**/**/**/*.ts* --fix",

0 commit comments

Comments
 (0)