Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cspotcode committed Feb 19, 2022
1 parent d270d95 commit 1ca2007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
11 changes: 1 addition & 10 deletions tests/module-types/override-to-cjs/tsconfig-swc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
{
"extends": "./tsconfig.json",
"ts-node": {
"swc": true,
"moduleTypes": {
"webpack.config.ts": "cjs",
// Test that subsequent patterns override earlier ones
"src/cjs-subdir/**/*": "esm",
"src/cjs-subdir": "cjs",
"src/cjs-subdir/esm-exception.ts": "esm"
}
},
"compilerOptions": {
"module": "ES2015"
}
}
10 changes: 1 addition & 9 deletions tests/module-types/override-to-esm/tsconfig-swc.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
{
"extends": "./tsconfig.json",
"ts-node": {
"swc": true,
"moduleTypes": {
// Test that subsequent patterns override earlier ones
"src/esm-subdir/**/*": "cjs",
"src/esm-subdir": "esm",
"src/esm-subdir/cjs-exception.ts": "cjs"
}
},
"compilerOptions": {
"module": "CommonJS"
}
}

0 comments on commit 1ca2007

Please sign in to comment.