Skip to content

Commit

Permalink
fix: inline build estree-walker
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Oct 13, 2023
1 parent 6a124b4 commit e909f5f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,11 @@ export default defineBuildConfig({
},
failOnWarn: false,
externals: ['vite', 'vue'],
hooks: {
'build:before': function (ctx) {
ctx.options.externals = ctx.options.externals.filter(
v => v !== 'estree-walker',
)
},
},
})

0 comments on commit e909f5f

Please sign in to comment.