We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba8959 commit d38ae20Copy full SHA for d38ae20
playground/rollup.config.js
@@ -21,7 +21,7 @@ export default (args) => {
21
'process.env.NODE_ENV': JSON.stringify(__ENV__),
22
preventAssignment: true,
23
}),
24
- lwc({ enablePrivateMethods: true }),
+ lwc(),
25
args.watch &&
26
serve({
27
open: false,
playground/src/modules/x/counter/counter.js
@@ -7,13 +7,8 @@ export default class extends LightningElement {
7
8
increment() {
9
this.counter++;
10
- this.#privateMethod();
11
}
12
decrement() {
13
this.counter--;
14
15
-
16
- #privateMethod() {
17
- this.counter++;
18
- }
19
0 commit comments