Skip to content

Commit

Permalink
Remove Fontsource alias
Browse files Browse the repository at this point in the history
We only use this two times, it's easier to just use the proper path
there
  • Loading branch information
CommandMC committed Dec 14, 2023
1 parent 085fa89 commit a758ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ const srcAliases = ['backend', 'frontend', 'common'].map((aliasName) => ({
find: aliasName,
replacement: join(__dirname, 'src', aliasName)
}))
srcAliases.push({
find: '~@fontsource',
replacement: join(__dirname, 'node_modules/@fontsource')
})

const dependenciesToNotExternalize = [
'@xhmikosr/decompress',
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import '~@fontsource/rubik/index.css';
@import '~@fontsource/cabin/index.css';
@import '@fontsource/rubik/index.css';
@import '@fontsource/cabin/index.css';
/*
Subset of font https://github.com/googlefonts/noto-emoji
which includes only flags emoji generated using command:
Expand Down

0 comments on commit a758ca0

Please sign in to comment.