You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
When I serve my app, the icons are generated with no problem. But when I bouild prod, the svg ts files are not generated so my app doesn't compile.
Expected behavior
Svg ts generation files on build prod
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Ok, that's the reason why it didn't work... I spent hours to understand why it didn't work.
Instead of relying on a custom webpack config, I run the svg-generator script before building my lib and my app. I use the "svgGenerator" defined in package.json. It works well, but it would be great to be able to define several svgGenerator objects. In a mono repo we have several apps, which would need different icons sets.
I hope it will help someone.
I'm submitting a...
Current behavior
When I serve my app, the icons are generated with no problem. But when I bouild prod, the svg ts files are not generated so my app doesn't compile.
Expected behavior
Svg ts generation files on build prod
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
"nx": "16.10.0",
"@angular/core": "16.2.8",
"@ngneat/svg-icon": "^7.1.0"
Browser:
For Tooling issues:
The text was updated successfully, but these errors were encountered: