We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f66708 commit 7085f0eCopy full SHA for 7085f0e
packages/socket.io-client/support/rollup.config.esm.js
@@ -15,7 +15,15 @@ module.exports = {
15
file: "./dist/socket.io.esm.min.js",
16
format: "esm",
17
sourcemap: true,
18
- plugins: [terser()],
+ plugins: [
19
+ terser({
20
+ mangle: {
21
+ properties: {
22
+ regex: /^_/,
23
+ },
24
25
+ }),
26
+ ],
27
banner,
28
},
29
plugins: [
packages/socket.io-client/support/rollup.config.umd.js
@@ -47,7 +47,15 @@ const prodBundle = {
47
format: "umd",
48
name: "io",
49
50
51
52
53
54
55
56
57
58
59
60
61
0 commit comments