Skip to content

Commit

Permalink
updating tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronkruse committed Dec 19, 2023
1 parent 1a0d9ff commit 446cdab
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/main.js"></script>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Binary file added public/favicon.ico
Binary file not shown.
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

File renamed without changes.
5 changes: 2 additions & 3 deletions main.js → src/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
14 changes: 14 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { fileURLToPath, URL } from 'node:url'

import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})

0 comments on commit 446cdab

Please sign in to comment.