Skip to content

Commit fb6f0a0

Browse files
authored
build: external node built-in module (#32)
1 parent 2cb502a commit fb6f0a0

File tree

1 file changed

+1
-2
lines changed
  • packages/vite-plugin-vue-termui/src

1 file changed

+1
-2
lines changed

packages/vite-plugin-vue-termui/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ export default function VueTermui({
9898
'vue-termui',
9999
'events',
100100
'assert',
101-
'node:events',
102-
'node:assert',
103101
'@vue/runtime-core',
104102
'vue', // withKeys and other helpers are only there
105103
'ansi-escapes',
@@ -116,6 +114,7 @@ export default function VueTermui({
116114
'wrap-ansi',
117115
'yoga-layout',
118116
'yoga-layout-prebuilt',
117+
/^node:/,
119118
],
120119

121120
output: {

0 commit comments

Comments
 (0)