Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add ssr.noExternal to components ex
Browse files Browse the repository at this point in the history
bholmesdev committed Jul 15, 2022
1 parent 39136c6 commit 1aa8d29
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/component/demo/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -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']
},
},
});

0 comments on commit 1aa8d29

Please sign in to comment.