MarsiBarsi / angular-library-to-web-components-demo

https://marsibarsi.github.io/angular-library-to-web-components-demo/native-demo/index.html
58 stars 20 forks source link

Issues with Angular 9 #7

Open Renaud009 opened 4 years ago

Renaud009 commented 4 years ago

Thanks for providing this example and your awesome work!

I'm currently trying your solution in my ng9 project. I get tons of warning when command "ng run elements:build:production --aot --main=projects/elements/src/${project}/${component}/compile.ts" is executed and it ends with "ERROR in polyfills-es5.js from Terser Invalid assignment [polyfills-es5.js:1,17]"

Any idea what causes this issue and how to fix it?

Renaud009 commented 4 years ago

Error occurs as soon as you run update with the cli with: ng update @angular/cli @angular/core