Skip to content

Commit d38ae20

Browse files
committed
chore: revert playground counter and rollup config changes
Remove test private method from counter component and revert playground rollup config back to default lwc() options. Made-with: Cursor
1 parent 2ba8959 commit d38ae20

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

playground/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default (args) => {
2121
'process.env.NODE_ENV': JSON.stringify(__ENV__),
2222
preventAssignment: true,
2323
}),
24-
lwc({ enablePrivateMethods: true }),
24+
lwc(),
2525
args.watch &&
2626
serve({
2727
open: false,

playground/src/modules/x/counter/counter.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@ export default class extends LightningElement {
77

88
increment() {
99
this.counter++;
10-
this.#privateMethod();
1110
}
1211
decrement() {
1312
this.counter--;
1413
}
15-
16-
#privateMethod() {
17-
this.counter++;
18-
}
1914
}

0 commit comments

Comments
 (0)