mirror of
https://github.com/withastro/astro.git
synced 2025-03-03 22:57:08 -05:00
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';
|
import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({});
|
export default defineConfig({
|
||||||
|
vite: {
|
||||||
|
ssr: {
|
||||||
|
noExternal: ['@example/my-component']
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue