Skip to content

Commit 3558403

Browse files
authored
Migrate to vite (#19)
* Migrate to vite * Update lock
1 parent 3b82703 commit 3558403

File tree

5 files changed

+3288
-18734
lines changed

5 files changed

+3288
-18734
lines changed

public/index.html renamed to index.html

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,23 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
<link rel="icon" href="./favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
1010
content="Web site created using create-react-app"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
12+
<link rel="apple-touch-icon" href="./logo192.png" />
1313
<!--
1414
manifest.json provides metadata used when your web app is installed on a
1515
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1616
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
22-
23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
17+
<link rel="manifest" href="./manifest.json" />
2718
<title>React App</title>
2819
</head>
2920
<body>
21+
<script type="module" src="/src/index.tsx"></script>
3022
<noscript>You need to enable JavaScript to run this app.</noscript>
3123
<div id="root"></div>
3224
<!--

0 commit comments

Comments
 (0)