fix(nx-plugin): don't add tslib if compiling with swc (#16418)

This commit is contained in:
Craigory Coppola 2023-04-20 17:18:38 -04:00 committed by GitHub
parent 61451a100b
commit c337998eb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(