Skip to content

Commit

Permalink
Ensuring that configuration packages with a JSON "main" export are re…
Browse files Browse the repository at this point in the history
…ad correctly
  • Loading branch information
fabiospampinato committed Apr 19, 2024
1 parent 88076b5 commit 9618b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config_prettier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Loaders = {
return config;
} else if (isString(config)) {
const modulePath = getModulePath(config, filePath);
return Loaders.js(modulePath);
return Loaders.auto(modulePath);
}
}
},
Expand Down

0 comments on commit 9618b6c

Please sign in to comment.