Skip to content

Commit 9618b6c

Browse files
Ensuring that configuration packages with a JSON "main" export are read correctly
1 parent 88076b5 commit 9618b6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_prettier.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Loaders = {
4545
return config;
4646
} else if (isString(config)) {
4747
const modulePath = getModulePath(config, filePath);
48-
return Loaders.js(modulePath);
48+
return Loaders.auto(modulePath);
4949
}
5050
}
5151
},

0 commit comments

Comments
 (0)