Meteor + webcomponents.js polyfill broken?


When using webcomponents.js I’m getting syntax errors in every browser, which is probably why the polyfill is not working in IE/FF anymore for me. I’m getting the following error.

Uncaught SyntaxError: Unexpected token <

Is anyone else having that same problem? When including webcomponents.js in a normal html5 boilerplate without meteor there’s no error message.

Note: This worked for Polymer 0.5 with the old polyfill.

Add first-class support for WebComponents (e.g. Blaze 2)

I’m having the exact same problem trying to integrate Polymer 1.2.0 with Meteor, I used atmosphere to install bower, then I used the bower.json to add polymer and my own library of elements, then it results in an endless Uncaught SyntaxError: Unexpected token < from webcomponentsjs-lite.js