Reproduction is here:
https://github.com/capraruioan/nuxt-fonts-issue
if experimentalMinChunkSize is uncommented in nuxt.config.ts, after build we will have certain files that contain fonts imported like:
url(' + publicAssetsURL("/_fonts/EXbtpLv9LdpH50KYevd8nuO.....
and
url(/_fonts/EXbtpLv9LdpH50KYevd8nuO......
this causes the same font to be downloaded twice, once from the cdn, once from the base url
Reproduction is here:
https://github.com/capraruioan/nuxt-fonts-issue
if
experimentalMinChunkSizeis uncommented in nuxt.config.ts, after build we will have certain files that contain fonts imported like:url(' + publicAssetsURL("/_fonts/EXbtpLv9LdpH50KYevd8nuO.....and
url(/_fonts/EXbtpLv9LdpH50KYevd8nuO......this causes the same font to be downloaded twice, once from the cdn, once from the base url