PolymerLabs / lit-element-build-rollup

Build config for lit-element with Rollup and Babel
35 stars 12 forks source link

It is not working in IE 11 #5

Open balaexpo opened 5 years ago

balaexpo commented 5 years ago

I even include custom-elements-es5-adapter.js file to index.html, still it is not working in IE11. It looks like we need to configure something in rollup.config.js with babel.

davie-robertson commented 5 years ago

any update on this?

phetw commented 5 years ago

@Balavaradh @davie-robertson Hi all, you just need to transpile the syntax down. The easiest way is using @babel/preset-env and set the target browsers. Just like in this example.