Build: stop transforming class private fields (#18128)
This commit is contained in:
1 parent
912342210d
commit
eca8348812
1 file changed
+4
@@ -223,6 +223,10 @@ function getEsbuildOptions({ packageConfig, file, cliOptions }) {
|
|||||||
"regexp-unicode-property-escapes": true,
|
"regexp-unicode-property-escapes": true,
|
||||||
// Maybe because Node.js v14 doesn't support "spread parameters after optional chaining" https://node.green/
|
// Maybe because Node.js v14 doesn't support "spread parameters after optional chaining" https://node.green/
|
||||||
"optional-chain": true,
|
"optional-chain": true,
|
||||||
|
// Maybe because https://github.com/evanw/esbuild/pull/3167?
|
||||||
|
"class-field": true,
|
||||||
|
"class-private-field": true,
|
||||||
|
"class-private-method": true,
|
||||||
},
|
},
|
||||||
packages: "bundle",
|
packages: "bundle",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user