Skip to content

Commit 314a09e

Browse files
committed
fix: A css-blocks config file should take precendence over package.json.
1 parent 784cd44 commit 314a09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@css-blocks/config/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ export async function search(searchDirectory?: string): Promise<Partial<Configur
9898
let loader = cosmiconfig("css-blocks", {
9999
transform: transformFinal,
100100
searchPlaces: [
101-
"package.json",
102101
"css-blocks.config.json",
103102
"css-blocks.config.js",
103+
"package.json",
104104
],
105105
});
106106
let result = await loader.search(searchDirectory);

0 commit comments

Comments
 (0)