Skip to content

Commit

Permalink
设置vite preview路径
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryJi529 committed May 1, 2024
1 parent bed82dc commit 8a18ab0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions apps/formula/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/formula --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/formula"
},
"dependencies": {
"mathjax-vue3": "^1.0.1",
Expand All @@ -20,4 +20,4 @@
"tailwindcss": "^3.3.2",
"vite": "^4.3.9"
}
}
}
4 changes: 2 additions & 2 deletions apps/joke/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/joke --emptyOutDir",
"preview": "vite preview",
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/joke",
"test:unit": "vitest"
},
"dependencies": {
Expand All @@ -30,4 +30,4 @@
"tailwindcss": "^3.3.2",
"vite": "^4.3.9"
}
}
}
4 changes: 2 additions & 2 deletions apps/notes/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/notes --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/notes"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
Expand All @@ -17,4 +17,4 @@
"@vitejs/plugin-vue": "^4.0.0",
"vite": "^4.0.0"
}
}
}
4 changes: 2 additions & 2 deletions apps/quiz/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/quiz --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/quiz"
},
"dependencies": {
"axios": "^1.4.0",
Expand All @@ -19,4 +19,4 @@
"naive-ui": "^2.34.4",
"vite": "^4.0.0"
}
}
}
4 changes: 2 additions & 2 deletions apps/recognizer/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/recognizer --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/recognizer"
},
"dependencies": {
"js-cookie": "^3.0.5",
Expand All @@ -20,4 +20,4 @@
"tailwindcss": "^3.3.3",
"vite": "^4.4.6"
}
}
}
4 changes: 2 additions & 2 deletions apps/share/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../../../scripts/deploy/nginx/www/share --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../../../scripts/deploy/nginx/www/share"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
Expand All @@ -26,4 +26,4 @@
"tailwindcss": "^3.3.2",
"vite": "^4.3.9"
}
}
}
4 changes: 2 additions & 2 deletions extension/popup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build --outDir ../dist/popup --emptyOutDir",
"preview": "vite preview"
"preview": "vite preview --outDir ../dist/popup"
},
"dependencies": {
"axios": "^1.4.0",
Expand All @@ -22,4 +22,4 @@
"tailwindcss": "^3.3.2",
"vite": "^4.3.9"
}
}
}

0 comments on commit 8a18ab0

Please sign in to comment.