build: improve webpack config (#3561)

This commit is contained in:
Alex Yang
2023-08-03 16:05:46 -07:00
committed by GitHub
parent f2ac4c7eda
commit 0c16eb1189
21 changed files with 365 additions and 234 deletions
+1
View File
@@ -10,6 +10,7 @@
"description": "AFFiNE App",
"homepage": "https://github.com/toeverything/AFFiNE",
"scripts": {
"start": "electron .",
"dev": "yarn cross-env DEV_SERVER_URL=http://localhost:8080 node scripts/dev.mjs",
"dev:prod": "yarn node scripts/dev.mjs",
"build": "NODE_ENV=production zx scripts/build-layers.mjs",