From 8528e4d148311d2fb0f1a458e0ecf4da8263f774 Mon Sep 17 00:00:00 2001 From: Jonghakseo Date: Sat, 7 Oct 2023 00:22:22 +0900 Subject: [PATCH] add --mode development when dev env --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0b1777855..b1491349e 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "scripts": { "build": "tsc --noEmit && vite build", "build:firefox": "tsc --noEmit && cross-env __FIREFOX__=true vite build", - "build:watch": "cross-env __DEV__=true vite build -w", - "build:firefox:watch": "cross-env __DEV__=true __FIREFOX__=true vite build -w", + "build:watch": "cross-env __DEV__=true vite build -w --mode development", + "build:firefox:watch": "cross-env __DEV__=true __FIREFOX__=true vite build -w --mode development", "build:hmr": "rollup --config utils/reload/rollup.config.ts", "wss": "node utils/reload/initReloadServer.js", "dev": "npm run build:hmr && (run-p wss build:watch)",