diff --git a/app/package.json b/app/package.json index f7a4eec..5a5545a 100644 --- a/app/package.json +++ b/app/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "license": "MIT", "scripts": { - "build": "webpack --mode production", + "build": "NODE_PATH=./node_modules webpack --mode production", "clean": "rm -rf yarn.lock build node_modules/* && yarn", "dev": "webpack --mode development", "docker": "yarn run build && docker build", @@ -11,7 +11,7 @@ "forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs", "lint": "eslint --cache --format codeframe --ext mjs,jsx,js src", "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)", - "start": "NODE_ENV=production node build/index.js", + "start": "NODE_ENV=production NODE_PATH=./node_modules node build/index.js", "test": "mocha --watch src", "watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development" },