framework
framework copied to clipboard
Consider adding package exports
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 https://github.com/microsoft/TypeScript/issues/33079