Skip to content

Commit

Permalink
fix(nx-plugin): don't add tslib if compiling with swc
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Apr 19, 2023
1 parent f7ca6e6 commit 1b8f833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nx-plugin/src/generators/plugin/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ export async function pluginGenerator(host: Tree, schema: Schema) {
skipFormat: true,
});

addTsLibDependencies(host);
if (options.bundler === 'tsc') {
addTsLibDependencies(host);
}

addDependenciesToPackageJson(
host,
Expand Down

0 comments on commit 1b8f833

Please sign in to comment.