We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39c7489 commit 05d086fCopy full SHA for 05d086f
1 file changed
src/config_prettier.ts
@@ -16,7 +16,7 @@ const Loaders = {
16
},
17
js: async (filePath: string): Promise<unknown> => {
18
const module = await import(url.pathToFileURL(filePath).href);
19
- return module.default || module.exports || module.prettier || module;
+ return module.default;
20
21
json: async (filePath: string): Promise<unknown> => {
22
const fileContent = fs.readFileSync(filePath, "utf8");
0 commit comments