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" },