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
It seems that the problem comes from the forEach() which does not take into account the synchronous state of my function. It plays the 2 instances in parallel.
This shouldn't normally be a problem, but it seems that the list of icons to use in the CSS is not sandboxed.
If I change my code to a for(cons ... of ...) loop, I can play the 2 instances one after another. This temporarily solves my problem but slows down the process:
I created a node script (ts-node) to play the generations of several distinct font-icons.
svgtofont.ts :
My fonts are well created as well as the CSS files, if I have only one directory everything is fine.
Now, if I add a second directory, all CSS files get the code of the last generated batch.
The CSS file of the first font retrieves my files but declares the CSS classes of the 2nd batch.
The first generated CSS file:
❎ www/src/scss/fonticon/_adminFonticon.scss:
✅ INSTEAD OF
and the second generated CSS file
✅ www/src/scss/fonticon/_fonticon.scss:
The text was updated successfully, but these errors were encountered: