PolymerLabs / lit-element-build-rollup

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

lit-element as an external? #9

Open tommck opened 5 years ago

tommck commented 5 years ago

bundling lit-element with a component adds about 100KB (unminified) code to the output.

I'd love to see a way to make lit-element an external, since we're planning on a bunch of npm packages with different components in it.

DulanHewage commented 5 years ago

I'm trying to build a lit-element web component library. tried using web pack and I have the same issue. Do we have a solution?

tommck commented 5 years ago

Guess I should have asked over here: https://github.com/Polymer/lit-element