Skip to content

Commit

Permalink
babel : migrate to the top level setPublicClassFields assumption (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Oct 23, 2022
1 parent d38bccc commit c87dda6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/plexus/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
function getBabelConfig(api) {
const env = api.env();
return {
assumptions: {
setPublicClassFields: true,
},
plugins: [
'@babel/plugin-syntax-dynamic-import',
[
Expand All @@ -23,12 +26,7 @@ function getBabelConfig(api) {
removeImport: true,
},
],
[
'@babel/plugin-proposal-class-properties',
{
loose: true,
},
],
'@babel/plugin-proposal-class-properties',
],
presets: [
[
Expand Down

0 comments on commit c87dda6

Please sign in to comment.