tools: External domains in script tags breaks build

As reported by @edoardo849 in #222

<script type="text/javascript" src="https://cdn.socket.io/socket.io-1.4.5.js"></script>

Causes an error due to no resolver being found.

@garlicnation is the standard practice to add a resolver that ignores these URLs?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Is there a work-around for this in the meantime?

Also curious to hear what the preferred approach for handling this would be, might look into adding support if I get some free time.

@43081j no you’re right, it’s still happening in current polymer-cli (v0.13.0) but will be fixed in v0.14.0 (releasing today). Thanks for confirming!

Fixed in polymer-build v0.3.2 & polymer-cli v0.13.0!

I can’t use google-chart due to this issue: no resolver found for https://www.gstatic.com/charts/loader.js

Is there any workaround to still build somehow project?