Skip to content

Commit 364df61

Browse files
committed
updated publish script
1 parent 8879aa5 commit 364df61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"src/index.js"
1919
],
2020
"scripts": {
21-
"publish": "parcel build docs/index.html && npm run gh-pages",
21+
"publish": "rm -rf ./dist && parcel build --public-url /react-devto docs/index.html && npm run gh-pages",
2222
"start": "parcel docs/index.html",
2323
"gh-pages": "gh-pages -d ./dist"
2424
},

0 commit comments

Comments
 (0)