Skip to content

Commit 9bc0d5e

Browse files
committed
Explicitly build:prod with prod env
1 parent f01e949 commit 9bc0d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"scripts": {
1010
"build": "NODE_OPTIONS=--openssl-legacy-provider node -r dotenv/config node_modules/.bin/webpack --config webpack/build.config.js",
11-
"build:prod": "NODE_OPTIONS=--openssl-legacy-provider node -r dotenv/config node_modules/.bin/webpack --env DATA_URL=https://api.tibroish.bg --config webpack/build.config.js",
11+
"build:prod": "NODE_OPTIONS=--openssl-legacy-provider node -r dotenv/config node_modules/.bin/webpack --env DATA_URL=https://api.tibroish.bg --env PUBLIC_URL=/results/2024-10-27 --env NODE_ENV=production --config webpack/build.config.js",
1212
"serve": "NODE_OPTIONS=--openssl-legacy-provider node -r dotenv/config node_modules/.bin/webpack serve --env DATA_URL=https://d1tapi.tibroish.bg --config webpack/serve.config.js",
1313
"serve:prod": "NODE_OPTIONS=--openssl-legacy-provider node -r dotenv/config node_modules/.bin/webpack serve --env DATA_URL=https://api.tibroish.bg --config webpack/serve.config.js",
1414
"serve:local": "NODE_OPTIONS=--openssl-legacy-provider DATA_URL=http://localhost:4000 node -r dotenv/config node_modules/.bin/webpack serve --config webpack/serve.config.js",

0 commit comments

Comments
 (0)