use rollup to bundle lit-element-2.1
- use rollup to bundle
- use inlineLitElement rollup plugin to import and inline css/scss
Bundle size

Is really the bundle change a key feature there?
Em dom, 7 de abr de 2019 00:59, Jay [email protected] escreveu:
- use rollup to bundle
- use inlineLitElement rollup plugin to import and inline css/scss
Bundle size [image: alt text] https://github.com/aelbore/inline-styles-lit-element/blob/todo-lit-element/bundle-size.png?raw=true
You can view, comment on, or merge this pull request online at:
https://github.com/shprink/web-components-todo/pull/30 Commit Summary
- use rollup to bundle
File Changes
- M lit-element-2.1/package-lock.json https://github.com/shprink/web-components-todo/pull/30/files#diff-0 (5259)
- M lit-element-2.1/package.json https://github.com/shprink/web-components-todo/pull/30/files#diff-1 (12)
- A lit-element-2.1/rollup.config.js https://github.com/shprink/web-components-todo/pull/30/files#diff-2 (25)
- A lit-element-2.1/src/my-todo.css https://github.com/shprink/web-components-todo/pull/30/files#diff-3 (21)
- M lit-element-2.1/src/my-todo.js https://github.com/shprink/web-components-todo/pull/30/files#diff-4 (108)
- A lit-element-2.1/src/todo-input.css https://github.com/shprink/web-components-todo/pull/30/files#diff-5 (25)
- M lit-element-2.1/src/todo-input.js https://github.com/shprink/web-components-todo/pull/30/files#diff-6 (66)
- A lit-element-2.1/src/todo-item.css https://github.com/shprink/web-components-todo/pull/30/files#diff-7 (86)
- M lit-element-2.1/src/todo-item.js https://github.com/shprink/web-components-todo/pull/30/files#diff-8 (161)
Patch Links:
- https://github.com/shprink/web-components-todo/pull/30.patch
- https://github.com/shprink/web-components-todo/pull/30.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shprink/web-components-todo/pull/30, or mute the thread https://github.com/notifications/unsubscribe-auth/AAh-l6ktSJLOV8p2BBK0hdX1wulAG_Tuks5veW0wgaJpZM4cgjCi .
@sombriks actually not really familiar with how webpack bundle it, and i notice that in https://wc-todo.firebaseapp.com page the lit-element-v2.1 has 8.4kb gzipped so when i try rollup it trim down almost 1KB size also i use rollup plugin to inline import css to make it clean.