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

Add "ignore" option #69

Merged
merged 1 commit into from
Oct 15, 2021
Merged

Add "ignore" option #69

merged 1 commit into from
Oct 15, 2021

Conversation

vovacodes
Copy link
Contributor

@vovacodes vovacodes requested a review from guybedford October 15, 2021 11:53
@CLAassistant
Copy link

CLAassistant commented Oct 15, 2021

CLA assistant check
All committers have signed the CLA.

* @returns `resolved` - either a URL `string` pointing to the module or `null` if the specifier should be ignored.
*/
async trace (specifier: string, parentUrl = this.mapBase, env = ['import', ...this.env]): Promise<string | null> {
// TODO: support ignoring prefixes?
Copy link
Member

Choose a reason for hiding this comment

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

I think it would be nice to support react/ type boundaries yeah. Possibly even scoped ignores as well so similar structures to the import map itself.

Copy link
Member

Choose a reason for hiding this comment

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

Alternatively, react* could work.

@guybedford guybedford merged commit 296259a into main Oct 15, 2021
@guybedford guybedford deleted the feature/ignore branch October 15, 2021 18:20
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.

3 participants