Skip to content

Commit 322ef6c

Browse files
committed
chore: up tsdown
1 parent c000450 commit 322ef6c

File tree

3 files changed

+323
-144
lines changed

3 files changed

+323
-144
lines changed

packages/router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"rimraf": "^6.0.1",
146146
"rollup": "^4.52.4",
147147
"rollup-plugin-typescript2": "^0.36.0",
148-
"tsdown": "^0.15.12",
148+
"tsdown": "^0.16.8",
149149
"tsup": "^8.5.0",
150150
"vite": "^7.1.10",
151151
"vue": "~3.6.0-alpha.2"

packages/router/tsdown.config.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type Options } from 'tsdown'
1+
import { type InlineConfig } from 'tsdown'
22
import pkg from './package.json' with { type: 'json' }
33
import fs from 'node:fs/promises'
44
import { dirname, resolve } from 'node:path'
@@ -50,7 +50,7 @@ export * from './vue-router.mjs'
5050
`.trimStart()
5151
)
5252
},
53-
} satisfies Options
53+
} satisfies InlineConfig
5454

5555
const esm = {
5656
...commonOptions,
@@ -61,7 +61,7 @@ const esm = {
6161
platform: 'neutral',
6262
dts: true,
6363
// sourcemap: true,
64-
} satisfies Options
64+
} satisfies InlineConfig
6565

6666
const esmBrowser = {
6767
...commonOptions,
@@ -75,7 +75,7 @@ const esmBrowser = {
7575
__DEV__: 'true',
7676
__FEATURE_PROD_DEVTOOLS__: 'true',
7777
},
78-
} satisfies Options
78+
} satisfies InlineConfig
7979

8080
const esmBrowserProd = {
8181
...esmBrowser,
@@ -90,7 +90,7 @@ const esmBrowserProd = {
9090
__DEV__: 'false',
9191
__FEATURE_PROD_DEVTOOLS__: 'false',
9292
},
93-
} satisfies Options
93+
} satisfies InlineConfig
9494

9595
const cjs = {
9696
...commonOptions,
@@ -106,7 +106,7 @@ const cjs = {
106106
__BROWSER__: 'false',
107107
__FEATURE_PROD_DEVTOOLS__: `false`,
108108
},
109-
} satisfies Options
109+
} satisfies InlineConfig
110110

111111
const cjsProd = {
112112
...cjs,
@@ -115,7 +115,7 @@ const cjsProd = {
115115
...cjs.outputOptions,
116116
file: 'dist/vue-router.prod.cjs',
117117
},
118-
} satisfies Options
118+
} satisfies InlineConfig
119119

120120
const iife = {
121121
...commonOptions,
@@ -132,7 +132,7 @@ const iife = {
132132
__DEV__: 'true',
133133
__FEATURE_PROD_DEVTOOLS__: `true`,
134134
},
135-
} satisfies Options
135+
} satisfies InlineConfig
136136

137137
const iifeProd = {
138138
...iife,
@@ -147,7 +147,7 @@ const iifeProd = {
147147
__DEV__: 'false',
148148
__FEATURE_PROD_DEVTOOLS__: `false`,
149149
},
150-
} satisfies Options
150+
} satisfies InlineConfig
151151

152152
export default [
153153
//

0 commit comments

Comments
 (0)