Skip to content

Commit

Permalink
Remove ssr.noExternal from SPA template (remix-run#8952)
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored and IgnusG committed Mar 4, 2024
1 parent 65e46d7 commit 3975cfb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/spa/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@ export default defineConfig({
}),
tsconfigPaths(),
],
ssr: {
// Bundle all dependencies during the server build by default to avoid most
// ESM/CJS issues. This may slow down your build a bit -- if so, you can
// try removing this option, or switching to a more targeted array
// containing the specific dependencies you wish to bundle. See more:
// https://vitejs.dev/config/ssr-options#ssr-noexternal
noExternal: true,
},
server: {
fs: {
// Restrict files that could be served by Vite's dev server. Accessing
Expand Down

0 comments on commit 3975cfb

Please sign in to comment.