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

Add ESM support #18

Open
sashapetrovska opened this issue Feb 21, 2023 · 2 comments
Open

Add ESM support #18

sashapetrovska opened this issue Feb 21, 2023 · 2 comments

Comments

@sashapetrovska
Copy link

This should be a must have. I'm currently having issues when trying to import topbar from a es module and just noticed that the distribution package contains a commonjs only package.

@Nicd
Copy link

Nicd commented Nov 25, 2023

FWIW, I've just vendored this for my own use and altered it just enough to work with an ES import: https://gitlab.com/code-stats/code-stats/-/blob/bb5fb7241603ff6704cf85287d7d82e90aa074cf/assets/js/vendor/topbar.js

@buunguyen
Copy link
Owner

buunguyen commented May 10, 2024

Would anyone mind sending a PR for this? Thanks.

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

No branches or pull requests

3 participants