Skip to content

Commit 4f0f809

Browse files
committed
Migrate to Vite
1 parent 6feef5c commit 4f0f809

File tree

6 files changed

+3015
-11766
lines changed

6 files changed

+3015
-11766
lines changed

public/index.html renamed to index.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
<meta property="og:site_name" content="FrameHub by Paroxity" />
1212
<meta property="og:title" content="Framehub - a Warframe Mastery Checklist" />
1313
<meta property="og:description" content="A mastery checklist for Warframe, complete with a star chart tracker, crafting material information, and progress sharing." />
14-
<meta property="og:url" content="%PUBLIC_URL%" />
14+
<meta property="og:url" content="https://framehub.paroxity.net" />
1515
<meta property="og:type" content="website" />
16-
<meta property="og:image" content="%PUBLIC_URL%/preview.png" />
16+
<meta property="og:image" content="/preview.png" />
1717
<meta property="og:image:alt" content="FrameHub Website Preview" />
1818
<meta name="twitter:card" content="summary_large_image">
1919
<meta name="theme-color" content="#373E5D" />
2020

21-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
22-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon-32x32.png" />
23-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
21+
<link rel="icon" href="/favicon.ico" />
22+
<link rel="apple-touch-icon" href="/favicon-32x32.png" />
23+
<link rel="manifest" href="/manifest.json" />
2424
<link rel="preconnect" href="https://fonts.gstatic.com" />
2525
<link
2626
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
@@ -31,5 +31,6 @@
3131
<body>
3232
<noscript>You need to enable JavaScript to run this app.</noscript>
3333
<div id="root"></div>
34+
<script type="module" src="/src/index.jsx"></script>
3435
</body>
3536
</html>

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"react-dom": "^18.3.1",
1212
"react-masonry-css": "^1.0.16",
1313
"react-router-dom": "^6.27.0",
14-
"react-scripts": "^5.0.1",
1514
"sass": "^1.84.0",
1615
"use-sync-external-store": "^1.5.0",
1716
"zustand": "^5.0.3"
1817
},
1918
"devDependencies": {
2019
"@actions/core": "^1.11.1",
20+
"@vitejs/plugin-react": "^5.1.4",
2121
"eslint": "^8.55.0",
2222
"eslint-config-prettier": "^9.1.0",
2323
"eslint-plugin-react": "7.34.4",
@@ -29,10 +29,9 @@
2929
"prettier": "^3.4.2"
3030
},
3131
"scripts": {
32-
"start": "react-scripts start",
33-
"build": "react-scripts build",
34-
"test": "react-scripts test",
35-
"eject": "react-scripts eject"
32+
"dev": "vite",
33+
"build": "vite build",
34+
"preview": "vite preview"
3635
},
3736
"browserslist": {
3837
"production": [

0 commit comments

Comments
 (0)