fix: fix build warning outside the root directory

This commit is contained in:
misitebao 2021-12-09 12:17:35 +08:00
parent f132f6d7c7
commit 411141706a
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,8 @@
"version": "0.1.0",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:watch": "vite build -w --emptyOutDir",
"build": "vite build --emptyOutDir",
"build:watch": "vite build --watch --emptyOutDir",
"preview": "vite preview"
},
"dependencies": {

View File

@ -4,6 +4,7 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build --emptyOutDir",
"build:watch": "vue-tsc --noEmit && vite build --watch --emptyOutDir",
"preview": "vite preview"
},
"dependencies": {