Version
2.4.3
Platform
OSX
What steps will reproduce the bug?
I'm using the radix-ui library for building a React client-side app on my site with esbuild to compile. I've tried adding these packages with ESM and NPM and in both cases, if the package has dependencies lume-loader throws an error like the following for @radix-ui/react-dialog:
deno:file:///Users/user/Library/Caches/deno/npm/registry.npmjs.org/@radix-ui/react-dialog/1.1.4/dist/index.mjs:16:29:ERROR: [plugin: lume-loader] Relative import path "react-remove-scroll" not prefixed with / or ./ or ../ and not in import map from "https://deno.land/x/lume@v2.4.3/plugins/esbuild.ts"
I even have those particularly directories ignored by LUME however it seems they're still being processed. I've gotten around it a few times by adding the package dependency to the import map, but its a tedious process and not always successful. Any suggestions?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
Libraries to be imported without conflict.
What do you see instead?
Loading config file file:///Users/user/Sites/project/_config.js
✘ [ERROR] Relative import path "react-remove-scroll" not prefixed with / or ./ or ../ and not in import map from "https://deno.land/x/lume@v2.4.3/plugins/esbuild.ts" [plugin lume-loader]
deno:file:///Users/user/Library/Caches/deno/npm/registry.npmjs.org/@radix-ui/react-dialog/1.1.4/dist/index.mjs:16:29:
16 │ import { RemoveScroll } from "react-remove-scroll";
Additional information
No response
Version
2.4.3
Platform
OSX
What steps will reproduce the bug?
I'm using the
radix-uilibrary for building a React client-side app on my site with esbuild to compile. I've tried adding these packages with ESM and NPM and in both cases, if the package has dependencieslume-loaderthrows an error like the following for@radix-ui/react-dialog:deno:file:///Users/user/Library/Caches/deno/npm/registry.npmjs.org/@radix-ui/react-dialog/1.1.4/dist/index.mjs:16:29:ERROR: [plugin: lume-loader] Relative import path "react-remove-scroll" not prefixed with / or ./ or ../ and not in import map from "https://deno.land/x/lume@v2.4.3/plugins/esbuild.ts"I even have those particularly directories ignored by LUME however it seems they're still being processed. I've gotten around it a few times by adding the package dependency to the import map, but its a tedious process and not always successful. Any suggestions?
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
Libraries to be imported without conflict.
What do you see instead?
Additional information
No response