From 18511914301cceff5b5260014dbf4a8e1801435a Mon Sep 17 00:00:00 2001 From: owen Date: Thu, 7 Dec 2023 20:53:30 +0800 Subject: [PATCH] =?UTF-8?q?local=E4=B8=8D=E8=83=BD=E4=BD=9C=E4=B8=BA?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E5=90=8D=EF=BC=8C=E6=94=B9=E4=B8=BAlocal-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 5002fc5fccd16927f08ba1d8673617ecca42be09) --- .env.local => .env.local-dev | 0 package.json | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename .env.local => .env.local-dev (100%) diff --git a/.env.local b/.env.local-dev similarity index 100% rename from .env.local rename to .env.local-dev diff --git a/package.json b/package.json index 3dc83d63..add1faa4 100644 --- a/package.json +++ b/package.json @@ -6,17 +6,17 @@ "private": false, "scripts": { "i": "pnpm install", - "local": "vite --mode local", + "local-dev": "vite --mode local-dev", "dev": "vite --mode dev", "ts:check": "vue-tsc --noEmit", - "build:local": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local", + "build:local-dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode local-dev", "build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev", "build:test": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test", "build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage", "build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod", "serve:dev": "vite preview --mode dev", "serve:prod": "vite preview --mode prod", - "preview": "pnpm build:local && vite preview", + "preview": "pnpm build:local-dev && vite preview", "clean": "npx rimraf node_modules", "clean:cache": "npx rimraf node_modules/.cache", "lint:eslint": "eslint --fix --ext .js,.ts,.vue ./src",