Skip to content

Commit

Permalink
Fix mobx observing things with Babel 7.
Browse files Browse the repository at this point in the history
See mobxjs/mobx#1352 for some details.
  • Loading branch information
joho committed Jan 2, 2019
1 parent 3f13e04 commit ead5957
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ module.exports = {
"@babel/typescript",
],
plugins: [
"@babel/plugin-proposal-class-properties"
[
"@babel/plugin-proposal-class-properties", {
loose: true
}
]
]
}
}
Expand Down

0 comments on commit ead5957

Please sign in to comment.