Skip to content

Commit 65c9f7b

Browse files
committed
fix: netflify index file
1 parent 1190e54 commit 65c9f7b

7 files changed

Lines changed: 2713 additions & 77 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ context-repos/
6060
.dev.vars
6161

6262
# Context repositories (local reference repos, not part of the project)
63-
context-repos/
63+
context-repos/
64+
# Local Netlify folder
65+
.netlify

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Crate</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script type="module" src="/app/index.tsx"></script>
11+
</body>
12+
</html>

netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build]
2+
command = "pnpm build"
3+
publish = ".output/public"
4+
5+
[functions]
6+
directory = ".output/server"

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@crate.ai/discogs-sdk": "^2.4.1",
4646
"@fontsource-variable/inter": "^5.2.8",
4747
"@hookform/resolvers": "^3.9.0",
48+
"@netlify/vite-plugin": "^2.7.19",
4849
"@opentelemetry/api": "^1.9.0",
4950
"@oslojs/crypto": "^1.0.1",
5051
"@radix-ui/react-avatar": "^1.1.2",

0 commit comments

Comments
 (0)