Skip to content

Commit cdae019

Browse files
fix(sio-client): do not mangle the "_placeholder" attribute (bis)
The "_placeholder" attribute is used when sending binary data, and was incorrectly mangled (converted to a random short property, like "it", to reduce the bundle size). Related: - ca9e994 - #5215 [skip ci]
1 parent 39bb720 commit cdae019

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/socket.io-client/support/rollup.config.esm.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = {
2020
mangle: {
2121
properties: {
2222
regex: /^_/,
23+
reserved: ["_placeholder"],
2324
},
2425
},
2526
}),

0 commit comments

Comments
 (0)