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(ext): expand scopes and expand when parsing #72

Merged

Conversation

dsherret
Copy link
Member

No description provided.

&mut diagnostics,
);
self.imports = imports;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was starting to get complicated making this work. I realized we can just do this when parsing, which is more efficient and less code to make this work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't we should do it during parsing - we only want that for deno.json and deno.jsonc files - not the import map from --import-map flag.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm, I see you added an option.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, deno_config will be able to handle it easily denoland/deno_config#41

@dsherret dsherret requested a review from bartlomieju February 22, 2024 23:12
@dsherret dsherret merged commit e960415 into denoland:main Feb 22, 2024
4 checks passed
@dsherret dsherret deleted the feat_expand_scopes_and_expand_on_parsing branch February 22, 2024 23:46
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.

2 participants