bundlejs icon indicating copy to clipboard operation
bundlejs copied to clipboard

Can't load [email protected]

Open exoego opened this issue 1 year ago • 1 comments

// Click Build for the Bundled, Minified & Compressed package size
export * from "[email protected]";
export { default as jestDefault } from "[email protected]";

results in

✘ [ERROR] Do not know how to load path: http-url:https://unpkg.com/[email protected]/build/default_resolver

http-url:https://unpkg.com/[email protected]/getDefaultResolver:8:32:

      8 │ ...tResolver = require(`jest-resolve/build/default_resolver`).default;
        ╵                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

exoego avatar Mar 16 '24 11:03 exoego

CleanShot 2024-06-10 at 16 24 54@2x

CleanShot 2024-06-10 at 16 23 06@2x

CleanShot 2024-06-10 at 16 24 02@2x

It seems the issue is that esbuild tries to fetch both of these imports which leads to an error, because default_resolver doesn't exist. I'm looking into potential solutions

okikio avatar Jun 10 '24 20:06 okikio