fix(vite): add hookable to externals list

This commit is contained in:
Daniel Roe 2023-08-07 23:23:36 +01:00
parent 554f868bce
commit 4552d39c4d

View File

@ -61,7 +61,7 @@ export async function buildServer (ctx: ViteBuildContext) {
external: [
'#internal/nitro', '#internal/nitro/utils',
// explicit dependencies we use in our ssr renderer - these can be inlined (if necessary) in the nitro build
'unhead', '@unhead/ssr', '@unhead/vue', 'unctx', 'h3', 'devalue', '@nuxt/devalue', 'radix3', 'unstorage',
'unhead', '@unhead/ssr', '@unhead/vue', 'unctx', 'h3', 'devalue', '@nuxt/devalue', 'radix3', 'unstorage', 'hookable',
// dependencies we might share with nitro - these can be inlined (if necessary) in the nitro build
...nitroDependencies
],