Skip to content

Commit

Permalink
Transform modules again
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Aug 29, 2018
1 parent 033bdb1 commit 1f93d33
Showing 1 changed file with 22 additions and 25 deletions.
47 changes: 22 additions & 25 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,29 +1,26 @@
{
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"loose": true
}
],
"@babel/preset-react"
"presets": [
[
"@babel/preset-env",
{
"loose": true
}
],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
],
"@babel/plugin-transform-object-assign",
"@babel/plugin-transform-spread"
"@babel/preset-react"
],
"plugins": [
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
],
"env": {
"test": {
"plugins": [
"@babel/transform-modules-commonjs"
]
}
"@babel/plugin-transform-object-assign",
"@babel/plugin-transform-spread"
],
"env": {
"test": {
"plugins": ["@babel/transform-modules-commonjs"]
}
}
}
}

0 comments on commit 1f93d33

Please sign in to comment.