Closed TedSander closed 9 years ago
If it makes more sense I can add a setting to make resolved URLs absolute to keep the previous logic.
Thanks for your pull request.
It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.
If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.
Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Achievement unlocked: CLA signature found!
Makes resolved type URLs absolute instead of relative. When they are relative it is difficult to reuse components. Using pub serve relative URLs are resolved because pub does some magic to allow add symlinks to the packages directory where needed. In production relative URLs make it difficult to add file handlers to the locations that are needed, as the location will be determined based on the current browser path or route. It also makes the template cache harder to populate because the same resource may need to be served from two separate URLs.
Closes #1599