Skip to content

Commit

Permalink
fix(build): clear build folder prior to new build
Browse files Browse the repository at this point in the history
This should somewhat resolve #64
  • Loading branch information
TasoOneAsia committed Jan 4, 2022
1 parent 90957e5 commit 2a66df0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"start": "cross-env PUBLIC_URL=/ craco start",
"start:game": "cross-env IN_GAME_DEV=1 craco start",
"build": "craco build",
"build": "rimraf build && craco build",
"test": "craco test",
"eject": "react-scripts eject"
},
Expand All @@ -45,5 +45,6 @@
"devDependencies": {
"@craco/craco": "^6.4.3",
"cross-env": "^7.0.3",
"rimraf": "^3.0.2"
}
}

0 comments on commit 2a66df0

Please sign in to comment.