Skip to content

Commit 1464ae4

Browse files
committed
chore: migrate to vite
1 parent c73a903 commit 1464ae4

26 files changed

+3403
-19989
lines changed

.github/workflows/publish-to-github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: "20"
2828

2929
- name: Install dependencies
30-
run: npm ci
30+
run: npm ci --ignore-scripts
3131

3232
- name: 🔨 Build
3333
run: npm run build

index.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta
9+
name="description"
10+
content="Insights into OctoPrint's anonymous usage statistics"
11+
/>
12+
<link rel="apple-touch-icon" href="/logo192.png" />
13+
<link rel="manifest" href="/manifest.json" />
14+
<title>data.octoprint.org</title>
15+
16+
<!-- Plausible -->
17+
<script
18+
defer
19+
data-domain="data.octoprint.org"
20+
src="https://plausible.octoprint.org/js/plausible.js"
21+
></script>
22+
23+
<script type="module" src="/src/index.jsx"></script>
24+
</head>
25+
<body>
26+
<noscript>You need to enable JavaScript to run this app.</noscript>
27+
<div id="root"></div>
28+
</body>
29+
</html>

0 commit comments

Comments
 (0)