Skip to content

Commit c62b60e

Browse files
committed
moved babel config to webpack
1 parent 2eba18e commit c62b60e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.babelrc

-3
This file was deleted.

webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ module.exports = {
1010
module: {
1111
loaders: [{
1212
exclude: /node_modules/,
13-
loader: 'babel'
13+
loader: 'babel',
14+
query: {
15+
presets: ['react', 'es2015', 'stage-1']
16+
}
1417
}]
1518
},
1619
resolve: {

0 commit comments

Comments
 (0)