Hi there, I’m getting this error in one of my modules (kaplayJS):
=> Errors prevented startup:
While building for web.browser:
node_modules/kaplay/dist/kaplay.mjs: /Users/.../node_modules/kaplay/dist/kaplay.mjs: Static
class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.
18 | };
19 | })();
> 20 | var K = class t {
| ^
21 | static {
22 | s(this, "Color");
23 | }
=> Your application has errors. Waiting for file change.
But adding @babel/plugin-transform-class-static-block
does not resolve the error.
Please advise.