Skip to content

Commit

Permalink
Add Babel transform-runtime plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Aug 29, 2016
1 parent 768f506 commit 96f60eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"presets": ["es2015", "stage-0", "react"],
"plugins": ["transform-decorators-legacy"]
"plugins": [
"transform-decorators-legacy",
"transform-runtime"
]
}
3 changes: 2 additions & 1 deletion webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ module.exports = {
},
presets: ['es2015', 'stage-0', 'react'],
plugins: [
'transform-decorators-legacy'
'transform-decorators-legacy',
'transform-runtime'
]
}
},
Expand Down

0 comments on commit 96f60eb

Please sign in to comment.