Skip to content

Commit

Permalink
fix: add ssr.noExternal to components ex
Browse files Browse the repository at this point in the history
  • Loading branch information
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.