refactor: add fontsource to noExternal
This commit is contained in:
parent
2c23e8cc0d
commit
08820f17ff
1 changed files with 13 additions and 0 deletions
13
packages/astro/test/fixtures/fontsource-package/astro.config.mjs
vendored
Normal file
13
packages/astro/test/fixtures/fontsource-package/astro.config.mjs
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
vite: {
|
||||
ssr: {
|
||||
noExternal: [
|
||||
'@fontsource/montserrat',
|
||||
'@fontsource/monofett',
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Reference in a new issue