Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ALL] NPM packages are missing file extensions in ES6 exports #8174

Open
jogibear9988 opened this issue Feb 26, 2024 · 0 comments
Open

[ALL] NPM packages are missing file extensions in ES6 exports #8174

jogibear9988 opened this issue Feb 26, 2024 · 0 comments
Labels

Comments

@jogibear9988
Copy link

Bug report

I want to use the packages in a ES6 environment without a bundler, but only using a importmap. This would work, but all your packages contain imports without file extensions, so this does not work.
NPM packages with ES6 export should contain file extensions in the package, or list all the named exports in the exports section.

Possible solution

Add file extensions in generated JS files, or add the .js file already in the typescript code.

For example here:

(or everywhere else)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant