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.
1 parent 99d1ed6 commit f29b612Copy full SHA for f29b612
packages/nuxt/src/module.ts
@@ -48,7 +48,7 @@ export default defineNuxtModule<ModuleOptions>({
48
output: {
49
path: path.join(nuxt.options.buildDir, 'client'),
50
},
51
- plugins: options.config.plugins.some((plugin: any) => {
+ plugins: (options.config.plugins || []).some((plugin: any) => {
52
const pluginName = typeof plugin === 'string' ? plugin : plugin.name;
53
return pluginName === '@hey-api/plugin-nuxt';
54
})
0 commit comments