We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff302ca + c45345e commit 37e26c4Copy full SHA for 37e26c4
apps/typegpu-docs/astro.config.mjs
@@ -23,7 +23,7 @@ export default defineConfig({
23
site: 'https://docs.swmansion.com',
24
base: 'TypeGPU',
25
vite: {
26
- plugins: [typegpu({ include: [/tgpu=true/] })],
+ plugins: [typegpu({ include: [/content\/examples.+\.ts/] })],
27
},
28
integrations: [
29
starlight({
apps/typegpu-docs/src/utils/examples/exampleContent.ts
@@ -78,9 +78,7 @@ const tsFilesImportFunctions: Record<
78
string,
79
Record<string, () => Promise<unknown>>
80
> = pathToExampleFilesToImportMap(
81
- import.meta.glob('../../content/examples/**/*.ts', {
82
- query: '?tgpu=true',
83
- }),
+ import.meta.glob('../../content/examples/**/*.ts'),
84
);
85
86
const htmlFiles: Record<string, string> = pathToExampleKey(
0 commit comments