widened moduleNameMapper for .js imports
This commit is contained in:
@@ -10,7 +10,7 @@ const config = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
"(^\\./.+)\\.js$": "$1",
|
"(^(\\./|\\.\\./).+)\\.js$": "$1",
|
||||||
},
|
},
|
||||||
extensionsToTreatAsEsm: [".ts", ".tsx"],
|
extensionsToTreatAsEsm: [".ts", ".tsx"],
|
||||||
verbose: true,
|
verbose: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user