From 08820f17ff792d640c370e4708ab62b98f52fd81 Mon Sep 17 00:00:00 2001 From: bholmesdev Date: Mon, 27 Jun 2022 17:53:25 -0400 Subject: [PATCH] refactor: add fontsource to noExternal --- .../fixtures/fontsource-package/astro.config.mjs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/astro/test/fixtures/fontsource-package/astro.config.mjs diff --git a/packages/astro/test/fixtures/fontsource-package/astro.config.mjs b/packages/astro/test/fixtures/fontsource-package/astro.config.mjs new file mode 100644 index 000000000..03d5ecbec --- /dev/null +++ b/packages/astro/test/fixtures/fontsource-package/astro.config.mjs @@ -0,0 +1,13 @@ +import { defineConfig } from 'astro/config'; + +// https://astro.build/config +export default defineConfig({ + vite: { + ssr: { + noExternal: [ + '@fontsource/montserrat', + '@fontsource/monofett', + ] + } + } +});