Skip to content

Commit

Permalink
Use dot prefixed path for Svelte's vite config to work around issues …
Browse files Browse the repository at this point in the history
…outlined in vitejs/vite#13267

It would occassionally cause the Svelte server to restart in an infinite loop as the temporary file created would trigger Meteor to do a restart, which in turn would create a new temporary file.
  • Loading branch information
JorgenVatle committed Jul 14, 2023
1 parent d4a2b98 commit ed9e2a3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
File renamed without changes.
1 change: 1 addition & 0 deletions examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"client": "client/main.ts",
"server": "server/main.ts"
},
"viteConfig": ".vite.config.mts",
"testModule": "tests/main.js"
}
}
2 changes: 1 addition & 1 deletion examples/svelte/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"include": [
"imports/**/*",
"tests/**/*",
"vite.config.mts",
".vite.config.mts",
"client/**/*",
".meteor/local/types/packages.d.ts",
"node_modules/@types/meteor/**/*"
Expand Down

0 comments on commit ed9e2a3

Please sign in to comment.