We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be20c64 commit 2b6a68fCopy full SHA for 2b6a68f
packages/qwik-nx/src/plugins/qwik-nx-vite.plugin.ts
@@ -40,9 +40,10 @@ export function qwikNxVite(options?: QwikNxVitePluginOptions): Plugin {
40
// it's not expected to have the plugin duplicated, but handling it as an edge case
41
const pluginOptions = qwikPlugin.api.getOptions();
42
43
- const vendorRoots = await getVendorRoots(options, pluginOptions);
44
-
45
- pluginOptions.vendorRoots.push(...vendorRoots);
+ if (pluginOptions.vendorRoots) {
+ const vendorRoots = await getVendorRoots(options, pluginOptions);
+ pluginOptions.vendorRoots.push(...vendorRoots);
46
+ }
47
}
48
},
49
};
0 commit comments