Repository navigation
Replies: 1 comment
|
Okay, so you need in Line 19 in ebd3331 something like: const moduleName = 'fliegdoc';
const { config, filepath } = cosmiconfigSync(moduleName, {
searchPlaces: [
`.${moduleName}rc.js`,
`.${moduleName}rc.cjs`,
`${moduleName}.config.js`,
`${moduleName}.config.cjs`
]
}).search();Originally posted by @fussel178 in #8 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As requested by @fussel178:
requireis not possible in.ymland similar files.Can you use a string like
fliegdoc-html-parserinstead and require it in the configuration builder?You can also disable support for
.ymland similar files.See: https://www.npmjs.com/package/cosmiconfig#searchplaces
Originally posted by @fussel178 in #8 (comment)
All reactions