Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference path outside root fails on deploy #296

Open
philcockfield opened this issue Mar 4, 2024 · 0 comments
Open

reference path outside root fails on deploy #296

philcockfield opened this issue Mar 4, 2024 · 0 comments

Comments

@philcockfield
Copy link

philcockfield commented Mar 4, 2024

If I have a folder structure:

root
  |- foo
     |- mod.ts   ← NB: import reference to ../bar/mod.ts
  |- bar
     |- mod.ts   

it works fine when running deno:

cd root/foo/
deno run mod.ts

If however, when within cd root/foo I run deployctrl the deployment fails because the import reference to ../bar/mod.ts is outside of /foo

This appears to be an inconsistency with what deno supports, and how the deployment script pulls the deployment assets together. It would be super useful if this worked for managing things within a monorepo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant