This causes the build to fail when it tries to import it relative to the project directory's parent instead of the project directory
❯ deno task build
Task build deno run -A ./build.ts
[ultra] - INFO ✔ Build is valid
[ultra] - INFO Building module graph for entrypoint ./client.tsx
[ultra] - INFO ✔ Module graph built
[ultra] - INFO Vendor modules for entrypoint ./client.tsx
[ultra] - INFO ✔ Vendored 14 modules for entrypoint ./client.tsx
error: Uncaught Error: Failed to resolve from module graph file:///home/kyeotic/dev/src/twind/twind.ts
throw new Error(
The file is actually located atfile:///home/kyeotic/dev/portolfio/src/twind/twind.ts
I added twind to my import map to map importing it easier
This causes the build to fail when it tries to import it relative to the project directory's parent instead of the project directory
Here is a commit-pinned repository link. Just run
deno task build
to see the error.