Skip to content

Commit cb7371e

Browse files
committed
chore: Add netlify.toml configuration
1 parent 8d71e8d commit cb7371e

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@ export default antfu({
44
// enable UnoCSS support
55
// https://unocss.dev/integrations/vscode
66
unocss: true,
7+
8+
ignores: [
9+
'netlify.toml',
10+
'node_modules',
11+
'dist',
12+
],
713
})

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build]
2+
base = "/"
3+
publish = "dist"
4+
command = "npm run build"
5+
6+
[[redirects]]
7+
from = "/*"
8+
to = "/index.html"
9+
status = 200

0 commit comments

Comments
 (0)