fix: add ssr.noExternal to components ex

This commit is contained in:
bholmesdev 2022-07-12 13:02:17 -04:00
parent 39136c6ffc
commit 1aa8d292b1

View file

@ -1,4 +1,10 @@
import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({});
export default defineConfig({
vite: {
ssr: {
noExternal: ['@example/my-component']
},
},
});