Skip to content

Commit 73a4e4d

Browse files
committed
Add SSR noExternal config for wgsl-wasm-transpiler-bundler
1 parent 1aec75b commit 73a4e4d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/typegpu-docs/astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ export default defineConfig({
3232
typegpu({ include: [/\.m?[jt]sx?/] }),
3333
/** @type {any} */ imagetools(),
3434
],
35-
assetsInclude: ['**/*.wasm'],
35+
ssr: {
36+
noExternal: [
37+
'wgsl-wasm-transpiler-bundler',
38+
],
39+
},
3640
},
3741
integrations: [
3842
starlight({

0 commit comments

Comments
 (0)