Open
Description
What I see
Every Example on the page https://jsr.io/docs/publishing-packages,
and especially in the section package-config-file
only has examples like
"exports": "./mod.ts"
What I want
An example, which shows how to use "exports" with object syntax.
Especially I want to know:
How to write the main import in object syntax?
Do I write it like this?
"exports": {
"/": "./mod.ts"
"/extra": "./extra/mod.ts"
}
Or like this?
"exports": {
".": "./mod.ts"
"extra": "./extra/mod.ts"
}
Or something completely different?
Metadata
Metadata
Assignees
Type
Projects
Status
Ready