Skip to content

Commit 224aad6

Browse files
committed
chore: avoid depending automd config on src
1 parent 4790e7c commit 224aad6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.config/automd.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { defineGenerator, type Config } from "../src";
1+
import type { Config } from "../src";
22
import { kebabCase } from "scule";
33

44
export default <Config>{
55
input: ["README.md", "docs/**/*.md"],
66
ignore: ["test/fixture/**"],
77
generators: {
8-
example: defineGenerator({
8+
example: {
99
name: "example",
1010
async generate({ args, transform }) {
1111
const { generator, ...generatorArgs } = args;
@@ -29,7 +29,7 @@ export default <Config>{
2929
contents: `### Input\n\n${_mdCode(input)}\n\n### Output\n\n${_mdCode(output)}`,
3030
};
3131
},
32-
}),
32+
},
3333
},
3434
};
3535

0 commit comments

Comments
 (0)