Skip to content

Commit 2f213fd

Browse files
committed
add "yarn clean" script
To be safe. Per https://github.com/thierryc/Next-gh-page-example
1 parent bc3bfbb commit 2f213fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

explorer/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"dev": "next",
99
"build": "next build && next export",
1010
"start": "next start",
11-
"deploy": "yarn build && touch out/.nojekyll && gh-pages -d out",
11+
"clean": "rm -rf node_module/.cache && rm -rf out",
12+
"deploy": "yarn clean && yarn build && touch out/.nojekyll && gh-pages -d out",
1213
"type-check": "tsc"
1314
},
1415
"dependencies": {

0 commit comments

Comments
 (0)