esbuild_deno_loader icon indicating copy to clipboard operation
esbuild_deno_loader copied to clipboard

Relative path are not loaded

Open carere opened this issue 1 year ago • 1 comments

It seems that on every relative path, I get the following error:

✘ [ERROR] Could not resolve "/home/carere/Projects/Ashiso/deno_zentai/apps/karada/src/components/organisms/Graph/controls/ContractSelector/ContractPreview/index.tsx" [plugin deno-loader]

    apps/karada/src/components/organisms/Graph/controls/ContractSelector/index.tsx:19:32:
      19 │ import { ContractPreview } from "./ContractPreview/index.tsx";
         ╵                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  The plugin "deno-loader" didn't set a resolve directory, so esbuild did not search for
  "/home/carere/Projects/Ashiso/deno_zentai/apps/karada/src/components/organisms/Graph/controls/ContractSelector/ContractPreview/index.tsx"
  on the file system.

I'm not well-versed into esbuild, and I don't know how to fix this issue. Maybe someone got a clue ??

carere avatar Sep 18 '23 00:09 carere

What does is your config file look like?

lucacasonato avatar Jan 22 '24 12:01 lucacasonato