From d43992ea92c4bdc7768653224417bbdf89189c98 Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Sat, 10 Jul 2021 12:25:27 +0300 Subject: [PATCH] Make sure to build prod with prod env --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0acbdb2..9ea3591 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "build": "webpack --config webpack/build.config.js", - "build-production": "webpack --config webpack/build.config.js --env API_HOST=https://api.tibroish.bg", + "build-production": "NODE_ENV=production webpack --config webpack/build.config.js --env API_HOST=https://api.tibroish.bg", "serve": "webpack serve --config webpack/serve.config.js --env API_HOST=https://d1tapi.dabulgaria.bg" }, "author": "",