-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update README and add JSDoc #212
Conversation
@@ -104,81 +112,7 @@ c12 merged config sources with [unjs/defu](https://github.com/unjs/defu) by belo | |||
|
|||
## Options | |||
|
|||
### `cwd` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be kept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would maintaining JSDoc not more beneficial?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -108,6 +113,11 @@ export async function loadConfig< | |||
}); | |||
} | |||
|
|||
if (options.globalDefineConfigFn) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please seperate it it new PR
Thanks but please create separate PRs 🙏🏼 |
Also adds
createDefineConfig
, so we could close #84.Additionally, the last commit is an addition to improve DX (that I believe Nuxt core/Content3 and possibly TW/i18n modules can also benefit from) - but I'm OK to leave it out as well. (let me write a quick test for this btw)