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 65d16b3 commit d428b9fCopy full SHA for d428b9f
packages/nuxt/src/module.ts
@@ -46,7 +46,7 @@ export default defineNuxtModule<ModuleOptions>({
46
output: {
47
path: path.join(nuxt.options.buildDir, 'client'),
48
},
49
- plugins: (options.config.plugins || []).some(
+ plugins: (options.config?.plugins || []).some(
50
(plugin: Required<UserConfig>['plugins'][number]) => {
51
const pluginName = typeof plugin === 'string' ? plugin : plugin.name;
52
return pluginName === '@hey-api/client-nuxt';
0 commit comments