Skip to content

Commit 3681095

Browse files
committed
Fix BrowserBatteries grpc server binary build
After UUID update
1 parent e6c7d8c commit 3681095

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

node/build.wrapper.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ esbuild.build(
99
bundle: true,
1010
platform: "node",
1111
outfile: "./Browser/wrapper/index.js",
12-
plugins: [nodeExternalsPlugin()],
12+
plugins: [nodeExternalsPlugin({
13+
// Allow UUID to be bundled instead of external
14+
// Needed when building with pkg
15+
allowList: ['uuid']
16+
})],
1317
external: [
1418
'playwright-core/*',
1519
],

0 commit comments

Comments
 (0)