Deno 2.4 emit for bundling with "npm:" imports inside code
Hi People, i try to bundle my code with Deno emit. Inside my code i am using packages from npm, like npm:solid-js@^1.9.6. It looks like the loader from bundle can not resolve the package.
Does someone know, if it is somehow possible to make it work ?
The Error: Bundler.loader.load(npm:solid-js@^1.9.6) failed: Module "npm:solid-js@^1.9.6" was an unsupported module kind.
2 Replies
unlikely,
deno_emit
hasn't been maintained in a while. You're much better of with esbuild + the deno loader plugin or vite + the deno pluginok tanks 🙏 for the info. I will switch to vite 🙂 i would love to stay completely in the Deno World. Will hopefully be possible in the future