Clear and concise description of the problem
As a user, I want to define an entrypoint as glob to avoid repeating myself, in addition to other defined entry points. This should also be reflected when writing exports.
Suggested solution
Allow entry points as glob, similar to tshy exports:
entry: {
".": "src/index.ts",
"v4/locales/*": "src/v4/locales/*.ts",
},
Alternative
Write them manually/via script (which already works as workaround)
Additional context
To take it further, this could also be part of a tshy migration guide where the tshy exports map is taken, but that might be a separate issue.
https://x.com/colinhacks/status/1936539368573083894
https://github.com/isaacs/tshy#glob-exports
#339
Validations
Clear and concise description of the problem
As a user, I want to define an entrypoint as glob to avoid repeating myself, in addition to other defined entry points. This should also be reflected when writing exports.
Suggested solution
Allow entry points as glob, similar to
tshyexports:Alternative
Write them manually/via script (which already works as workaround)
Additional context
To take it further, this could also be part of a
tshymigration guide where the tshy exports map is taken, but that might be a separate issue.https://x.com/colinhacks/status/1936539368573083894
https://github.com/isaacs/tshy#glob-exports
#339
Validations