arkon / ng-inline-svg

[Inactive] Angular directive for inserting an SVG file inline within an element.
https://echeung.me/ng-inline-svg/
MIT License
210 stars 88 forks source link

inline-svg with angular universal takes forever to build the server side #147

Open nourabbas96 opened 4 years ago

nourabbas96 commented 4 years ago

when I build my angular universal project on google cloud and in the step when I run angular universal server-side build it takes forever tell it timeout this is the last command appear in the log Compiling ng-inline-svg : main as commonjs

diogoterremoto commented 3 years ago

Can confirm this. It's the most time consuming module when building the SSR bundle. Other than that it's great!

arkon commented 3 years ago

For context, I created this module long before Angular Universal, SSR, or the CLI existed, so I don't really know how any of that really works, nor have I actually tried it in those contexts.

If anybody with more know-how knows how to actually address this stuff, contributions would be welcomed!