How to build webcomponentjs v0 polyfill and include in angular

Reading Time: < 1 minute


1) git clone repository
2) check out v0 branch
3) install gulp globally

npm install -g gulp

4) build webcomponentjs manually

 npm install
 gulp build

5) Find the generate js files in dist/ folder
6) Copy webcomponents.min.js to assets folder of angular project
7) import webcomponents.min.js to polyfill.ts

import "./assets/webcomponents.min";