fix: add ssr.noExternal to components ex
This commit is contained in:
parent
39136c6ffc
commit
1aa8d292b1
1 changed files with 7 additions and 1 deletions
|
@ -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']
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue