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
Describe the bug npm run electron:build duplicates local fonts, creating a bundle that contains them in fonts as well as in css/fonts. This also results in a larger asar package.
I added the duplication a few years ago because I was having font import errors on electron:build. Since the error appears to have disappeared now, I have removed the duplication in the 2.0.0 beta as it could possibly be a breaking change.
Describe the bug
npm run electron:build
duplicates local fonts, creating a bundle that contains them infonts
as well as incss/fonts
. This also results in a larger asar package.To Reproduce
And then add
import "roboto-fontface/css/roboto/roboto-fontface.css"
tosrc/main.js
Expected behavior
Should produce the same bundle that
npm run build
does, which only contains the fonts in thefonts
folder.Environment:
The text was updated successfully, but these errors were encountered: