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

[polymer-bundler] Fix issue where excludes that are redirected are ignored #3320

Merged
merged 4 commits into from
Jan 8, 2019

Conversation

usergenic
Copy link
Contributor

@usergenic usergenic commented Jan 8, 2019

Polymer Bundler CLI has a --redirect option that allows you to say things like --redirect something://like-this/|/some/folder/ which is a thing some people need to do.

The code that compares exclude URLs was not using URLs which were being resolved by the MultiUrlResolver that applied the URL rewriting from the provided redirection, which resulted in URLs not being excluded that should have been treated as excluded.

I also opportunistically renamed our polymer-bundler_test.ts file to cli_test.ts since that made the file's intention clearer.

@usergenic usergenic requested a review from aomarks January 8, 2019 20:19
@usergenic
Copy link
Contributor Author

/cc @freshp86

@usergenic usergenic merged commit 054c375 into master Jan 8, 2019
@usergenic usergenic deleted the exclude-with-redirect branch January 8, 2019 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants