Skip to content

Commit

Permalink
conditionNames
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jul 3, 2024
1 parent be4ded7 commit d7142e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/register/esm.mts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const resolver = new ResolverFactory({
configFile: TSCONFIG_PATH,
references: 'auto',
},
conditionNames: ['node', 'import'],
extensionAlias: {
'.js': ['.ts', '.js'],
'.mjs': ['.mts', '.mjs'],
Expand Down

0 comments on commit d7142e7

Please sign in to comment.