Skip to content

Commit

Permalink
fix(js): ignore tsx and .test. files with buildable swc libraries
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #9442
  • Loading branch information
Caleb Ukle authored and Caleb Ukle committed Mar 25, 2022
1 parent 5d28162 commit 2d5ffa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/js/src/utils/swc/add-swc-config.ts
Expand Up @@ -4,11 +4,11 @@ import { Tree } from '@nrwl/devkit';
import { join } from 'path';

export const defaultExclude = [
'./src/**/.*.spec.ts$',
'./**/.*.spec.ts$',
'./src/**/jest-setup.ts$',
'.*.spec.tsx?$',
'.*.test.tsx?$',
'./src/jest-setup.ts$',
'./**/jest-setup.ts$',
'./**/.*.js$',
'.*.js$',
];

const swcOptionsString = () => `{
Expand Down

0 comments on commit 2d5ffa9

Please sign in to comment.