mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix(bridge): inline bridge dist files (#4170)
This commit is contained in:
parent
c7ff6d1740
commit
7379184960
@ -90,7 +90,11 @@ export async function setupNitroBridge () {
|
||||
dir: nuxt.options.dev ? join(nuxt.options.buildDir, 'nitro') : resolve(nuxt.options.rootDir, '.output')
|
||||
},
|
||||
externals: {
|
||||
inline: nuxt.options.dev ? [] : [nuxt.options.buildDir]
|
||||
inline: [
|
||||
...(nuxt.options.dev ? [] : [nuxt.options.buildDir]),
|
||||
'@nuxt/bridge/dist',
|
||||
'@nuxt/bridge-edge/dist'
|
||||
]
|
||||
},
|
||||
alias: {
|
||||
// Vue 2 mocks
|
||||
|
Loading…
Reference in New Issue
Block a user