Skip to content

Commit e909f5f

Browse files
committed
fix: inline build estree-walker
1 parent 6a124b4 commit e909f5f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,11 @@ export default defineBuildConfig({
99
},
1010
failOnWarn: false,
1111
externals: ['vite', 'vue'],
12+
hooks: {
13+
'build:before': function (ctx) {
14+
ctx.options.externals = ctx.options.externals.filter(
15+
v => v !== 'estree-walker',
16+
)
17+
},
18+
},
1219
})

0 commit comments

Comments
 (0)