Skip to content

Commit 736efe2

Browse files
hi-ogawacodex
andauthored
chore(deps): update tsdown to v0.23 (#1451)
Co-authored-by: Hiroshi Ogawa <[email protected]> Co-authored-by: Codex <[email protected]>
1 parent e90d024 commit 736efe2

5 files changed

Lines changed: 358 additions & 160 deletions

File tree

‎packages/plugin-react-swc/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@vitejs/react-common": "workspace:*",
4040
"fs-extra": "^11.4.0",
4141
"prettier": "^3.0.3",
42-
"tsdown": "^0.22.14",
42+
"tsdown": "^0.23.0",
4343
"typescript": "^6.0.3"
4444
},
4545
"peerDependencies": {

‎packages/plugin-react/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"react": "^19.2.8",
5555
"react-dom": "^19.2.8",
5656
"rolldown": "^1.2.6",
57-
"tsdown": "^0.22.14",
57+
"tsdown": "^0.23.0",
5858
"vite": "^8.2.2"
5959
},
6060
"peerDependencies": {

‎packages/plugin-rsc/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"react-dom": "^19.2.8",
6565
"react-server-dom-webpack": "^19.2.8",
6666
"tinyexec": "^1.3.0",
67-
"tsdown": "^0.22.14"
67+
"tsdown": "^0.23.0"
6868
},
6969
"peerDependencies": {
7070
"react": "*",

‎packages/plugin-rsc/tsdown.config.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ export default defineConfig({
3636
'src/utils/encryption-runtime.ts',
3737
],
3838
format: ['esm'],
39-
// TODO: specify explicitly
40-
inlineOnly: false,
39+
deps: {
40+
neverBundle: [/^virtual:/, /^@vitejs\/plugin-rsc\/vendor\//],
41+
onlyBundle: false,
42+
},
4143
fixedExtension: false,
42-
external: [/^virtual:/, /^@vitejs\/plugin-rsc\/vendor\//],
4344
dts: {
4445
sourcemap: process.argv.slice(2).includes('--sourcemap'),
4546
},

0 commit comments

Comments
 (0)