This content originally appeared on Krasimir Tsonev - blog and was authored by Krasimir Tsonev - blog
While I was working on Navigo an issue popped out. 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).
This content originally appeared on Krasimir Tsonev - blog and was authored by Krasimir Tsonev - blog
Krasimir Tsonev - blog | Sciencx (2021-02-07T21:52:56+00:00) Transpile to ES modules with Babel. Retrieved from https://www.scien.cx/2021/02/07/transpile-to-es-modules-with-babel/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.