You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Webpack fails to compile the code if you use e.g. a static class property (which is an ECMAScript feature supported natively by Node 14). The @babel/preset-env transform also supports the parsing of static class properties if we opt-in with the shippedProposals option.
However, adding shippedProposals doesn't fix the Webpack compilation error. This may be because Webpack is using a different Babel config (inside the Webpack config) but I haven't had a chance to look into it any further yet.
The text was updated successfully, but these errors were encountered:
Currently Webpack fails to compile the code if you use e.g. a static class property (which is an ECMAScript feature supported natively by Node 14). The @babel/preset-env transform also supports the parsing of static class properties if we opt-in with the
shippedProposals
option.However, adding
shippedProposals
doesn't fix the Webpack compilation error. This may be because Webpack is using a different Babel config (inside the Webpack config) but I haven't had a chance to look into it any further yet.The text was updated successfully, but these errors were encountered: