From 85a6c6aacfb090072312c6a8d2c90f6dc24ccc6b Mon Sep 17 00:00:00 2001 From: Vincent Fretin Date: Fri, 7 Jun 2024 17:57:08 +0200 Subject: [PATCH] fix start:prod command, be sure the dist and index.html are copied over the public folder --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 83746824c..02ba86f6b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "dist/3dstreet-editor.js", "scripts": { "start": "webpack serve --config webpack.config.js --open --progress", - "start:prod": "serve public -l 3333", + "start:prod": "npm run dist && npm run prefirebase && serve public -l 3333", "dist": "webpack --config webpack.prod.config.js --progress", "dist:staging": "cross-env DEPLOY_ENV=development webpack --config webpack.prod.config.js --progress", "lint": "eslint --ext .js,.jsx src",