We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.bridge
1 parent fbc7351 commit 6ebdec4Copy full SHA for 6ebdec4
1 file changed
src/module.ts
@@ -34,10 +34,10 @@ export default defineNuxtModule({
34
} as BridgeConfig,
35
async setup (opts, nuxt) {
36
// Disable if users explicitly set to false
37
- if (nuxt.options.bridge === false) { return }
+ if ((nuxt.options as any).bridge === false) { return }
38
39
// Nuxt kit depends on this flag to check bridge compatibility
40
- nuxt.options.bridge = nuxt.options.bridge || true
+ (nuxt.options as any).bridge = (nuxt.options as any).bridge || true
41
42
const _require = createRequire(import.meta.url)
43
0 commit comments