mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(bridge): detect existence of @nuxt/bridge-edge
(#1575)
This commit is contained in:
parent
8d1fcf3d69
commit
f60f461410
@ -8,7 +8,7 @@ module.exports.defineNuxtConfig = (config = {}) => {
|
|||||||
if (!config.buildModules) {
|
if (!config.buildModules) {
|
||||||
config.buildModules = []
|
config.buildModules = []
|
||||||
}
|
}
|
||||||
if (!config.buildModules.find(m => m === '@nuxt/bridge')) {
|
if (!config.buildModules.find(m => m === '@nuxt/bridge' || m === '@nuxt/bridge-edge')) {
|
||||||
config.buildModules.push('@nuxt/bridge')
|
config.buildModules.push('@nuxt/bridge')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user