Skip to content

Commit 2820b37

Browse files
a-chabotclaude
andcommitted
docs: add enablePrivateMethods to compiler README
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent e49f1b3 commit 2820b37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@lwc/compiler/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const { code } = transformSync(source, filename, options);
5757
- `enableLightningWebSecurityTransforms` (type: `boolean`, default: `false`) - The configuration to enable Lighting Web Security specific transformations.
5858
- `enableLwcSpread` (boolean, optional, `true` by default) - Deprecated. Ignored by compiler. `lwc:spread` is always enabled.
5959
- `disableSyntheticShadowSupport` (type: `boolean`, default: `false`) - Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output.
60+
- `enablePrivateMethods` (type: `boolean`, default: `false`) - Enable the private method round-trip transform. When false or omitted, private methods pass through to standard Babel handling.
6061
- `instrumentation` (type: `InstrumentationObject`, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface.
6162
- `apiVersion` (type: `number`, optional) - API version to associate with the compiled module.
6263

0 commit comments

Comments
 (0)