From 4bdebb012b1bc9277723826cb6f27e51aa1a266c Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran <120017870+JeevaRamu0104@users.noreply.github.com> Date: Fri, 16 Feb 2024 12:43:34 +0530 Subject: [PATCH] fix: prod start command (#414) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e8ba8c4e3..c88048556 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "setup-env": "chmod +x ./replace_env.sh && ./replace_env.sh", "pre-commit": "bash .githooks/commit-msg", "start": "npm run setup-env && cp env-config.js ./public/hyperswitch && APP_VERSION=$npm_package_version && appName=hyperswitch webpack serve --config webpack.dev.js", - "serve": "npm run setup-env && cp env-config.js ./public/hyperswitch && node dist/server/server.js", + "serve": "npm run setup-env && cp env-config.js ./dist/hyperswitch && node dist/server/server.js", "prod:start": "webpack serve --config webpack.dev.js", "build:netlify": "webpack --config webpack.prod.js --env netlifyHosted", "build:prod": "npm run re:clean && npm run re:build && npm run setup-env && cp env-config.js ./public/hyperswitch && APP_VERSION=$npm_package_version && webpack --config webpack.prod.js",