Skip to content

Consider adding package exports #151

Open
@nandi95

Description

Search terms
package exports
esm
cjs

Is your feature request related to a problem? Please describe.
The user currently have to import their helpers like import '@upfrontjs/framework/string.es.min.js';
What would be ideal if import '@upfrontjs/framework/string was enough to specify and the rest can be figured out by the bundlers.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe how this would benefit the project/others
better discoverability for IDEs, less things to type

Describe alternatives you've considered
not applicable

Additional context
microsoft/TypeScript#33079

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions