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

Transpile to ESM with babel #662

Open
krasimir opened this issue Jan 14, 2021 · 0 comments
Open

Transpile to ESM with babel #662

krasimir opened this issue Jan 14, 2021 · 0 comments

Comments

@krasimir
Copy link
Owner

Article 👉 https://krasimirtsonev.com/blog/article/transpile-to-esm-with-babel


While I was working on Navigo an issue popped up. It was about using the library in the context of Web Dev Server where we have everything in TypeScript. And something was not ok with Navigo. The npm package wasn't exported properly and we were keep getting a does not provide an export named 'default' error. It turned out the problem is that Navigo is not exported properly as ES module (also known as ESM). ... continue reading

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

1 participant