diff --git a/tsdown.config.mts b/tsdown.config.mts index 8217d349768..2c0c9cadb13 100644 --- a/tsdown.config.mts +++ b/tsdown.config.mts @@ -59,5 +59,7 @@ export default defineConfig({ sourcemap: true, platform: 'node', fixedExtension: false, - external: /^(?![./]|lib\/)/, + deps: { + neverBundle: /^(?![./]|lib\/)/, + }, });