-
Notifications
You must be signed in to change notification settings - Fork 184
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
No ES module support #237
Comments
Hi @ajmeese7! This sounds like a reasonable addition. To my understanding adding {
"name": "svelte-routing",
"version": "1.6.0",
"description": "A declarative Svelte routing library with SSR support",
- "main": "src/index.js",
+ "main": "src/index.mjs", Does that sound right to you? |
Hey @EmilTholin! That sounds like it should work in theory, I can try it locally by modifying my |
I'm running into this too, the
Which I don't understand, since there is no sign of original |
This has been fixed in the latest version. (MAYBE) |
I'm having issue importing the project from node modules, while running jest tests with
Whats the difference between jose and svelte-routing: turns out jose specifies those exports
Maybe you can add those in your package.json as well:
(this fixes the issue with jest esm imports) |
Maybe this helps: https://publint.dev/svelte-routing@2.13.0 Also: https://arethetypeswrong.github.io/?p=svelte-routing%402.13.0 This last one looks weird: It has a check next to "node 16 (from ESM)" but next to the check has (CJS). May be an indication of something not quite right. |
Any chance you're willing to push an update for this?
The text was updated successfully, but these errors were encountered: