Skip to content

Commit c90f6a2

Browse files
committed
fix: initialise nitro options
resolves #736
1 parent ca0f5c5 commit c90f6a2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/bridge/module.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ module.exports.defineNuxtConfig = (config = {}) => {
1616
// Initialize typescript config for nuxi typecheck + prepare support
1717
config.typescript = config.typescript || {}
1818

19+
// Initialize nitro options
20+
config.nitro = config.nitro || {}
21+
1922
// Nuxt kit depends on this flag to check bridge compatibility
2023
config.bridge = typeof config.bridge === 'object' ? config.bridge : {}
2124
config.bridge._version = pkg.version

0 commit comments

Comments
 (0)