diff --git a/packages/plugin/src/generators/plugin/plugin.ts b/packages/plugin/src/generators/plugin/plugin.ts index b16a7c2bda3dc..053064f33df5d 100644 --- a/packages/plugin/src/generators/plugin/plugin.ts +++ b/packages/plugin/src/generators/plugin/plugin.ts @@ -87,7 +87,9 @@ export async function pluginGenerator(host: Tree, schema: Schema) { }) ); - tasks.push(addTsLibDependencies(host)); + if (options.bundler === 'tsc') { + tasks.push(addTsLibDependencies(host)); + } tasks.push( addDependenciesToPackageJson(