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 4790e7c commit 224aad6Copy full SHA for 224aad6
.config/automd.ts
@@ -1,11 +1,11 @@
1
-import { defineGenerator, type Config } from "../src";
+import type { Config } from "../src";
2
import { kebabCase } from "scule";
3
4
export default <Config>{
5
input: ["README.md", "docs/**/*.md"],
6
ignore: ["test/fixture/**"],
7
generators: {
8
- example: defineGenerator({
+ example: {
9
name: "example",
10
async generate({ args, transform }) {
11
const { generator, ...generatorArgs } = args;
@@ -29,7 +29,7 @@ export default <Config>{
29
contents: `### Input\n\n${_mdCode(input)}\n\n### Output\n\n${_mdCode(output)}`,
30
};
31
},
32
- }),
+ },
33
34
35
0 commit comments