diff --git a/build.config.ts b/build.config.ts index 7de0089..1709abf 100644 --- a/build.config.ts +++ b/build.config.ts @@ -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', + ) + }, + }, })