Fix outDir in lifetracker-vue vite build

This commit is contained in:
Ryan Pandya 2023-05-16 16:17:53 -04:00
parent 14607a727a
commit 0d649fb512
6 changed files with 2 additions and 284 deletions

2
.gitignore vendored
View File

@ -3,4 +3,4 @@
/node_modules /node_modules
/*/node_modules /*/node_modules
deploykey* deploykey*

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Life Tracker Expanded</title>
<script type="module" crossorigin src="/assets/index-64281767.js"></script>
<link rel="stylesheet" href="/assets/index-b41ae507.css">
</head>
<body>
<div id="app"></div>
</body>
</html>

View File

@ -13,7 +13,7 @@ export default defineConfig({
}, },
root: "src", root: "src",
build: { build: {
outDir: "../../lifetracker-server/dist", outDir: "../../lifetracker-server/src/dist",
emptyOutDir: true, emptyOutDir: true,
}, },
server: { server: {