Skip to content

Commit 85a6c6a

Browse files
committed
fix start:prod command, be sure the dist and index.html are copied over the public folder
1 parent 1cd556f commit 85a6c6a

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
@@ -5,7 +5,7 @@
55
"main": "dist/3dstreet-editor.js",
66
"scripts": {
77
"start": "webpack serve --config webpack.config.js --open --progress",
8-
"start:prod": "serve public -l 3333",
8+
"start:prod": "npm run dist && npm run prefirebase && serve public -l 3333",
99
"dist": "webpack --config webpack.prod.config.js --progress",
1010
"dist:staging": "cross-env DEPLOY_ENV=development webpack --config webpack.prod.config.js --progress",
1111
"lint": "eslint --ext .js,.jsx src",

0 commit comments

Comments
 (0)