diff --git a/package.json b/package.json index f512a27..8872028 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "", "main": "index.js", "scripts": { - "dev": "webpack --mode development --watch ./leadmanager/frontend/src/index.js --output ./leadmanager/frontend/static/frontend/main.js", - "build": "webpack --mode production ./leadmanager/frontend/src/index.js --output ./leadmanager/frontend/static/frontend/main.js" + "dev": "webpack --mode development --watch --entry ./leadmanager/frontend/src/index.js --output-path ./leadmanager/frontend/static/frontend/", + "build": "webpack --mode production --entry ./leadmanager/frontend/src/index.js --output-path ./leadmanager/frontend/static/frontend/" }, "keywords": [], "author": "",