Skip to content

Commit 8572675

Browse files
authored
fix: Improve typegpu package build output (#2249)
1 parent fe36d1c commit 8572675

5 files changed

Lines changed: 8 additions & 1 deletion

File tree

packages/tinyest-for-wgsl/tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ export default defineConfig({
88
dts: true,
99
platform: 'neutral',
1010
target: false,
11+
unbundle: true,
12+
sourcemap: false,
1113
});

packages/tinyest/tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ export default defineConfig({
77
dts: true,
88
platform: 'neutral',
99
target: false,
10+
unbundle: true,
11+
sourcemap: false,
1012
});

packages/typegpu/tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ export default defineConfig({
1414
format: 'esm',
1515
dts: true,
1616
platform: 'neutral',
17+
unbundle: true,
18+
sourcemap: false,
1719
target: false,
1820
});

packages/unplugin-typegpu/tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ export default defineConfig({
2222
tsconfig: './tsconfig.json',
2323
target: 'es2017',
2424
platform: 'node',
25+
unbundle: true,
26+
sourcemap: false,
2527
dts: true,
2628
});

tsconfig.base.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"outDir": "${configDir}/dist",
44
"declaration": true,
5-
"declarationMap": true,
65
"lib": ["ESNext", "DOM"],
76
"emitDeclarationOnly": true,
87
"target": "ESNext",

0 commit comments

Comments
 (0)