Skip to content

Commit d746242

Browse files
committed
build: add node version back
1 parent 8b8cebf commit d746242

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages/router/tsdown.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ const esm = {
4444
},
4545
platform: 'neutral',
4646
dts: true,
47+
copy: [
48+
{
49+
from: './vue-router.node.mjs',
50+
to: 'dist/vue-router.node.mjs',
51+
},
52+
],
4753
// sourcemap: true,
4854
} satisfies Options
4955

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
global.__VUE_PROD_DEVTOOLS__ = false
2+
export * from './vue-router.mjs'

0 commit comments

Comments
 (0)