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

feat: remote islands #2301

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: remote islands #2301

wants to merge 2 commits into from

Conversation

deer
Copy link
Contributor

@deer deer commented Feb 7, 2024

supersedes #1997

This is a modified approach which uses ts-morph to scan the files in ["routes", "components", "islands"] to look for imports that end in //FreshRemoteIsland.

Originally I wanted to leverage import attributes, as suggested here, but it seems like they've been restricted in scope via denoland/deno#20843. I really wanted to leverage import_map and deno_graph to scan the module graph for remote imports, but plain comments don't make it into the output from deno_graph, so this door seems to be closed at this point.

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

Successfully merging this pull request may close these issues.

None yet

1 participant