Skip to content

Commit a06f64b

Browse files
committed
Add babel plugin to handle class fields
1 parent 4e1923f commit a06f64b

3 files changed

Lines changed: 32 additions & 1 deletion

File tree

babel.config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"corejs": false
2121
}
2222
],
23-
["@babel/plugin-transform-regenerator", { "async": false }]
23+
["@babel/plugin-transform-regenerator", { "async": false }],
24+
["@babel/plugin-proposal-class-properties"]
2425
]
2526
}

package-lock.json

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@geoman-io/leaflet-geoman-free": "^2.18.3"
1616
},
1717
"devDependencies": {
18+
"@babel/plugin-proposal-class-properties": "^7.18.6",
1819
"@decidim/dev": "^0.28.6",
1920
"@decidim/eslint-config": "^0.28.6",
2021
"@decidim/prettier-config": "^0.28.6",

0 commit comments

Comments
 (0)