Skip to content

Commit e987649

Browse files
authored
chore: added netlify.toml (ikun-svelte#40)
* chore: use netlify * chore: use netlify * chore: added netlify.toml * chore: updated netlify.toml
1 parent ed03bf2 commit e987649

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/vite.config.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ export default defineConfig({
1616
if (id === '\0$app/environment') return 'export const browser = true';
1717
}
1818
} as Plugin
19-
]
19+
],
20+
build:{
21+
chunkSizeWarningLimit: 999999
22+
}
2023
});

netlify.toml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[build.environment]
2+
NODE_VERSION = "18"
3+
4+
[build]
5+
base = "docs"
6+
publish = "/.vitepress/dist"
7+
command = "pnpm run docs:build"

0 commit comments

Comments
 (0)