Closed adibbz closed 2 years ago
Solution: This ended up not being an issue with ngx-build-plus
or the included polyfills.
We were importing a deprecated package document-register-element
that was causing the console errors. Removing import 'document-register-element';
from polyfills.ts
fixed the console errors.
@adibbz what is the solution for this?
**We have document register element at below locations in angular.json:** "projects.myWidgetBuilder.architect.build.options.scripts" and "projects.elements.architect.build.options.scripts"
"scripts": [ { "input": "node_modules/document-register-element/build/document-register-element.js" }
Do I need to remove these above lines from myWidgetBuilder and elements in angular.json?
Registering multiple apps and getting this error: