mirror of
https://github.com/promplate/pyth-on-line.git
synced 2025-09-04 17:53:00 +00:00
feat: specify optimizeDeps
for vite
This commit is contained in:
@@ -7,4 +7,12 @@ export default defineConfig({
|
||||
plugins: [Unocss(), sveltekit(), dir2json({ include: ["**/*.py", "**/*.j2", "**/pyproject.toml", "**/README.md"] })],
|
||||
assetsInclude: ["src/python/**/*"],
|
||||
server: { allowedHosts: true },
|
||||
optimizeDeps: {
|
||||
entries: [
|
||||
"index.html",
|
||||
"**/*.svelte",
|
||||
"src/routes/**/*.ts",
|
||||
"!**/*server.ts",
|
||||
],
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user