mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-31 07:40:33 +00:00
fix(vite): do not inline dynamic imports in server (#5506)
* fix(vite): do not inline dynamic imports in server * chore: add link to upstream pr
This commit is contained in:
parent
93d60a30de
commit
00c1daebaf
@ -64,6 +64,8 @@ export async function buildServer (ctx: ViteBuildContext) {
|
||||
output: {
|
||||
entryFileNames: 'server.mjs',
|
||||
preferConst: true,
|
||||
// TODO: https://github.com/vitejs/vite/pull/8641
|
||||
inlineDynamicImports: false,
|
||||
format: 'module'
|
||||
},
|
||||
onwarn (warning, rollupWarn) {
|
||||
|
Loading…
Reference in New Issue
Block a user