Skip to content

Commit

Permalink
fix: Deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewscwei committed Aug 31, 2024
1 parent f614535 commit 1310491
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 565 deletions.
2 changes: 1 addition & 1 deletion demo/src/index.html → demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,5 @@
</div>
</main>
</body>
<script type="module" src="/index.ts"></script>
<script type="module" src="/src/index.ts"></script>
</html>
3 changes: 2 additions & 1 deletion demo/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import path from 'node:path'
import { defineConfig } from 'vite'

export default defineConfig({
root: path.resolve(__dirname, 'src'),
root: __dirname,
base: '/spase/',
build: {
outDir: path.resolve(__dirname, '../.gh-pages'),
target: 'esnext',
Expand Down
Loading

0 comments on commit 1310491

Please sign in to comment.