Skip to content

Commit 5accaf5

Browse files
authoredMay 2, 2017
Merge pull request #29 from Baira/patch-1
fix babel presets and plugins
2 parents 9324e5e + 4cb30ee commit 5accaf5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎6-mobx-react/webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
test: /\.js$/,
1313
exclude: /(node_modules|bower_components)/,
1414
loader: 'babel-loader',
15+
query: { presets: ['es2015', 'react'], plugins: ["transform-decorators-legacy", "transform-class-properties"] }
1516
},
1617
{ test: /\.css$/, loader: "style-loader!css-loader" },
1718
]

0 commit comments

Comments
 (0)
Failed to load comments.