framework icon indicating copy to clipboard operation
framework copied to clipboard

Consider adding package exports

Open nandi95 opened this issue 2 years ago • 0 comments

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

nandi95 avatar Dec 02 '21 13:12 nandi95