Skip to content

Commit

Permalink
Issue #1651 followup (#1660)
Browse files Browse the repository at this point in the history
* cleanup

* lint-fix
  • Loading branch information
cspotcode authored Feb 23, 2022
1 parent 7025abf commit 89bde51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
13 changes: 2 additions & 11 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"
"swc": true
}
}
12 changes: 2 additions & 10 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"
"swc": true
}
}

0 comments on commit 89bde51

Please sign in to comment.