Polymer / pwa-starter-kit

Starter templates for building full-featured Progressive Web Apps from web components.
https://pwa-starter-kit.polymer-project.org
2.36k stars 431 forks source link

[webpack branch] Always load wc-bundle #311

Closed keanulee closed 4 years ago

keanulee commented 5 years ago

(For consideration:)

Instead of using webcomponents-loader, always import webcomponents-bundle. This removes the need of copying the node_modules/@webcomponents/webcomponentsjs/ directory and allows the use of import '@babel/polyfill', but at the cost of increasing the initial view1 JS from 71KB to 133KB on Chrome (since wc-bundle is always loaded).

keanulee commented 5 years ago

Note: this approach may not be compatible with rendertron (need to verify).

stale[bot] commented 4 years ago

This project is no longer under development and will be transitioning to a read-only repo. Thank you for your contributions.