fix: remove `.` for mjs in `supportedConfigExtensions` (#447)

pull/486/head
Jeff Yang 3 years ago committed by GitHub
parent bd35451ed4
commit fb6a4ad3e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,

Loading…
Cancel
Save