moved babel config to webpack
This commit is contained in:
parent
2eba18e307
commit
c62b60eb31
|
@ -10,7 +10,10 @@ module.exports = {
|
|||
module: {
|
||||
loaders: [{
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel'
|
||||
loader: 'babel',
|
||||
query: {
|
||||
presets: ['react', 'es2015', 'stage-1']
|
||||
}
|
||||
}]
|
||||
},
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in New Issue