GoogleWebComponents / google-chart

Google Charts API web components
https://www.webcomponents.org/element/@google-web-components/google-chart/elements/google-chart
Apache License 2.0
358 stars 130 forks source link

loader.js doesn't load after vulcanize project #213

Closed vixson closed 5 years ago

vixson commented 6 years ago

After optimizing a project using vulcanize https://www.gstatic.com/charts/loader.js would not be able to load up again. it returns a non UTF-8 encode string, and consoles this:

Uncaught SyntaxError: Invalid or unexpected token loader.js:1

Uncaught ReferenceError: google is not defined (index.html):33198

rslawik commented 5 years ago

Vulcanization is not needed with the ES modules version. Please reopen the issue if you still experience the problem with the component published on npm.

vixson commented 5 years ago

Thanks @rslawik