Skip to content

Commit

Permalink
fix: remove . for mjs in supportedConfigExtensions (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
ydcjeff authored Jan 6, 2022
1 parent bd35451 commit fb6a4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export async function resolveConfig(
return config
}

const supportedConfigExtensions = ['js', 'ts', '.mjs', 'mts']
const supportedConfigExtensions = ['js', 'ts', 'mjs', 'mts']

async function resolveUserConfig(
root: string,
Expand Down

0 comments on commit fb6a4ad

Please sign in to comment.