Addressing my suggestion in https://github.com/atlowChemi/vite-svg-2-webfont/issues/19#issuecomment-1961071304, I've added an option which allows fonts to be inlined directly into CSS as base64. This is extremely useful when there is a requirement that icons should be displayed as soon as the app loads (no empty squares or shifting layouts).
Addressing my suggestion in https://github.com/atlowChemi/vite-svg-2-webfont/issues/19#issuecomment-1961071304, I've added an option which allows fonts to be inlined directly into CSS as base64. This is extremely useful when there is a requirement that icons should be displayed as soon as the app loads (no empty squares or shifting layouts).
Here is a regex breakdown used in this PR: https://regex101.com/r/dnExDu/1