Skip to content

Commit

Permalink
chore: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Apr 3, 2022
1 parent 99fd36a commit d450db4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" href="https://avatars.githubusercontent.com/u/76618355?s=200&v=4" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>A list of links</title>
<script type="module" crossorigin src="/assets/index.b1c2c8ca.js"></script>
<link rel="stylesheet" href="/assets/index.84d5f2ba.css">
<script type="module" crossorigin src="./assets/index.b1c2c8ca.js"></script>
<link rel="stylesheet" href="./assets/index.84d5f2ba.css">
</head>
<body>
<div id="app"></div>
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,9 @@ export default defineConfig({
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
},
base: './',
build: {
outDir: 'docs'
}
});

0 comments on commit d450db4

Please sign in to comment.