fix(vite): narrow nuxt3 inlining config (#3474)

This commit is contained in:
Daniel Roe 2022-03-02 17:54:53 +00:00 committed by GitHub
parent 15f84f5ba0
commit 494f85a2b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -46,9 +46,8 @@ export async function buildServer (ctx: ViteBuildContext) {
/\.(es|esm|esm-browser|esm-bundler).js$/, /\.(es|esm|esm-browser|esm-bundler).js$/,
'/__vue-jsx', '/__vue-jsx',
'#app', '#app',
'nuxt3', /nuxt3\/(dist|src|app)/,
/@nuxt\/nitro\/dist/, /@nuxt\/nitro\/(dist|src)/
/@nuxt\/nitro\/src/
] ]
}, },
build: { build: {