mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05: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')
|
dir: nuxt.options.dev ? join(nuxt.options.buildDir, 'nitro') : resolve(nuxt.options.rootDir, '.output')
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
inline: nuxt.options.dev ? [] : [nuxt.options.buildDir]
|
inline: [
|
||||||
|
...(nuxt.options.dev ? [] : [nuxt.options.buildDir]),
|
||||||
|
'@nuxt/bridge/dist',
|
||||||
|
'@nuxt/bridge-edge/dist'
|
||||||
|
]
|
||||||
},
|
},
|
||||||
alias: {
|
alias: {
|
||||||
// Vue 2 mocks
|
// Vue 2 mocks
|
||||||
|
Loading…
Reference in New Issue
Block a user