Add proxy target configuration and new start script for seedheads dev mode

This commit is contained in:
seb
2025-07-02 13:21:08 +02:00
parent edbd56f6a9
commit 10b7f0ed7b
5 changed files with 63 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"start": "webpack serve --progress --mode development --no-open",
"start:seedheads": "cross-env PROXY_TARGET=https://seedheads.de webpack serve --progress --mode development --no-open",
"prod": "webpack serve --progress --mode production --no-client-overlay --no-client --no-web-socket-server --no-open --no-live-reload --no-hot --compress --no-devtool",
"build:client": "cross-env NODE_ENV=production webpack --progress --mode production && shx cp dist/index.html dist/index_template.html",
"build": "npm run build:client",