Skip to content

Commit 2c34f21

Browse files
committed
Add manual patches
1 parent 8f3712f commit 2c34f21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"code-test": "npm run prodBuild && npm run eslint",
99
"build": "npx rollup -c",
10-
"prodBuild": "export NODE_ENV=\"production\"&&npm run build",
10+
"prodBuild": "export NODE_ENV=\"production\"&&npm run build&&npm run patch",
1111
"watch": "export NODE_ENV=\"development\"&&npm run build -- --watch",
1212
"eslint": "npx eslint ./src/**/*.ts ./src/*.ts ./*.js",
13-
"eslint:fix": "npm run eslint -- --fix"
13+
"eslint:fix": "npm run eslint -- --fix",
14+
"patch": "sed -i 's/buildings/.\\/buildings/' ./dist/gameType.d.ts"
1415
},
1516
"husky": {
1617
"hooks": {

0 commit comments

Comments
 (0)