From 409d07d1f4dbc850278f3d9f91f56b7d46d4120e Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Fri, 26 Feb 2021 16:45:48 -0500 Subject: [PATCH] pkg/interface: force api build on prod --- pkg/interface/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/interface/package.json b/pkg/interface/package.json index 82d865170..629380f87 100644 --- a/pkg/interface/package.json +++ b/pkg/interface/package.json @@ -95,7 +95,7 @@ "tsc": "tsc", "tsc:watch": "tsc --watch", "build:dev": "cross-env NODE_ENV=development webpack --config config/webpack.dev.js", - "build:prod": "cross-env NODE_ENV=production webpack --config config/webpack.prod.js", + "build:prod": "cd ../npm/api && npm i && cd ../../interface && cross-env NODE_ENV=production webpack --config config/webpack.prod.js", "start": "webpack-dev-server --config config/webpack.dev.js", "test": "echo \"Error: no test specified\" && exit 1" },