Skip to content

Commit

Permalink
refactor: add fontsource to noExternal
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jun 28, 2022
1 parent 9d97fd3 commit 7645cda
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/astro/test/fixtures/fontsource-package/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { defineConfig } from 'astro/config';

// https://astro.build/config
export default defineConfig({
vite: {
ssr: {
noExternal: [
'@fontsource/montserrat',
'@fontsource/monofett',
]
}
}
});

0 comments on commit 7645cda

Please sign in to comment.