Skip to content

Commit

Permalink
fix(nx-plugin): don't add tslib if compiling with swc (#16418)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Apr 20, 2023
1 parent 61451a1 commit c337998
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/plugin/src/generators/plugin/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c337998

Please sign in to comment.