refactor: add fontsource to noExternal

This commit is contained in:
bholmesdev 2022-06-27 17:53:25 -04:00
parent 2c23e8cc0d
commit 08820f17ff

View file

@ -0,0 +1,13 @@
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
vite: {
ssr: {
noExternal: [
'@fontsource/montserrat',
'@fontsource/monofett',
]
}
}
});