Skip to content

Commit

Permalink
Fixes issue with commonjs bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
braposo committed Sep 16, 2019
1 parent d6c615b commit a04acfd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@
"@babel/react",
"@babel/typescript"
],
"plugins": ["@babel/plugin-proposal-class-properties"]
"plugins": [
"@babel/plugin-proposal-class-properties"
],
"env": {
"commonjs": {
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
}
}
}

0 comments on commit a04acfd

Please sign in to comment.