Open awadeson opened 10 months ago
I bumped into the same error while updating to Angular 16. It would be amazing to keep using this plugin! Thank you!
теж те саме, треба виправити цю проблему
+1
@awadeson @guillemc23 did you find workaround?
@awadeson @guillemc23 did you find workaround?
Hey @R-chie! I did find a workaround. Instead of importing the module, I'm registering the View, and it works (I have an app in production):
import { registerElement } from "@nativescript/angular";
import { SVGImage } from "@sergeymell/nativescript-svg";
registerElement("SVGImage", () => SVGImage);
Could a change be made which would update @sergeymell/nativescript-svg to support Ivy partial compilation as described in this Angular blog post.
In the codebase I work on, @sergeymell/nativescript-svg is the only dependency that generates this message during build:
The availability of SVG plugins for angular & nativescript is quite poor, so this is a really useful library
Thanks in advance