Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Aug 27, 2021
1 parent 1dd2bad commit 0dd95dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/short-emus-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Add `@sveltejs/kit` to noExternal to resolve hooks module in dev server
2 changes: 1 addition & 1 deletion packages/kit/src/core/build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ async function build_server(
},
ssr: {
noExternal: [
'@sveltejs/kit',
'@sveltejs/kit', // TODO: see https://github.com/vitejs/vite/issues/3953
// @ts-expect-error - ssr is considered in alpha, so not yet exposed by Vite
...((vite_config.ssr && vite_config.ssr.noExternal) || []),
...svelte_packages
Expand Down

0 comments on commit 0dd95dd

Please sign in to comment.