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