You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 readingThe text was updated successfully, but these errors were encountered: