Skip to content

Commit 9dfa996

Browse files
authored
perf: only bundle node version debug (#627)
1 parent ffac7e1 commit 9dfa996

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,13 @@ import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entry: 'src/index.ts',
5+
inputOptions: {
6+
resolve: {
7+
alias: {
8+
// we can always use node version (the default entry point has browser support)
9+
debug: 'debug/src/node.js',
10+
},
11+
},
12+
},
513
dts: true,
614
})

0 commit comments

Comments
 (0)