Skip to content

Commit cd6baaf

Browse files
committed
fix: global默认不进行pollyfill,兼容quickjs
Signed-off-by: lilei946 <[email protected]>
1 parent 28bd33c commit cd6baaf

File tree

1 file changed

+3
-0
lines changed
  • packages/hap-toolkit/src/gen-webpack-conf

1 file changed

+3
-0
lines changed

packages/hap-toolkit/src/gen-webpack-conf/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ export default async function genWebpackConf(launchOptions, mode) {
225225
}) && !isCard
226226

227227
const webpackConf = {
228+
node: {
229+
global: false
230+
},
228231
context: cwd,
229232
mode,
230233
cache,

0 commit comments

Comments
 (0)