Skip to content

Commit

Permalink
Update .babelrc
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Kozlowski <[email protected]>
  • Loading branch information
marcinguy authored Aug 21, 2024
1 parent bd15b23 commit 0ef5a1f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions quantifiedcode/plugins/git/frontend/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"plugins": ["transform-es2015-parameters","transform-object-rest-spread","transform-react-jsx", "transform-es2015-modules-amd"],
"presets": ["es2015"]
"plugins": [
"@babel/plugin-transform-parameters",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-react-jsx",
"@babel/plugin-transform-modules-amd"
],
"presets": ["@babel/preset-env"],
"env": {
"production": {
"plugins": ["transform-remove-console"]
}
}
}

0 comments on commit 0ef5a1f

Please sign in to comment.