Skip to content

Commit

Permalink
πŸ› remove disallowed extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
dudeofawesome committed May 7, 2024
1 parent 02b0bb0 commit 874e9b5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/jest-configs/src/layers/esm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,5 @@ export const config: Config = {
moduleNameMapper: {
[String.raw`^(\.{1,2}/.*)\.js$`]: '$1',
},
extensionsToTreatAsEsm: [
'.js',
'.mjs',
'.jsx',
'.mjsx',
'.ts',
'.mts',
'.tsx',
'.mtsx',
],
extensionsToTreatAsEsm: ['.jsx', '.mjsx', '.ts', '.mts', '.tsx', '.mtsx'],
};

0 comments on commit 874e9b5

Please sign in to comment.