Skip to content

Commit f8d9dd3

Browse files
committed
chore: avoid deprecated tsdown options
1 parent d4c5ac8 commit f8d9dd3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tsdown.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ export default defineConfig(() => {
77
platform: 'browser',
88
dts: true,
99
sourcemap: true,
10-
inlineOnly: false,
11-
external: ['fs', 'path'],
10+
deps: {
11+
neverBundle: ['fs', 'path'],
12+
onlyBundle: false
13+
},
1214
define: {
1315
window: '{}' // to be detected as ENVIRONMENT_IS_WEB with EmscriptenModule
1416
}

0 commit comments

Comments
 (0)