You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just about to open a feature request to suggest adding a util / type to allow the easy creation of your own defineConfig type for use with .ts files, and to my big surprise, it already exists!
and hacking around, but that leaves me with the question: what's $meta? How is it intended to be used as opposed to "regular" options? The PR that implements it ended with a "resolved in discord discussion" which leaves me hanging 🙈
Happy to open a PR to document this in the readme once the $meta question is answered 🙂👍🏻
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Hi dear @rijkvanzanten sorry for answering too late. $meta is a reserved namespace intended for layer meta itself. A configuration such as a layer name, author, repo, creds, etc goes in there separating it from the standard user-intended configuration.
Describe the feature
I was just about to open a feature request to suggest adding a util / type to allow the easy creation of your own
defineConfig
type for use with.ts
files, and to my big surprise, it already exists!c12/src/types.ts
Lines 103 to 108 in d239195
Howeverrrrrrr now I have no clue how to actually use it 👀 A starting point is by copying:
c12/test/types.ts
Lines 4 to 22 in d239195
and hacking around, but that leaves me with the question: what's
$meta
? How is it intended to be used as opposed to "regular" options? The PR that implements it ended with a "resolved in discord discussion" which leaves me hanging 🙈Happy to open a PR to document this in the readme once the $meta question is answered 🙂👍🏻
Additional information
The text was updated successfully, but these errors were encountered: