Skip to content

Commit 8d285ea

Browse files
committed
fix(cli): add esbuild external
1 parent 9e4e635 commit 8d285ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vuepress/cli/src/utils/esbuildUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const createBuildToCodeOptions = (
1313
target: 'node12',
1414
bundle: true,
1515
write: false,
16+
external: ['fsevents', 'vuepress', '@vuepress/*'],
1617
})
1718

1819
/**

0 commit comments

Comments
 (0)