Put both jsx and js varaibles on same line in config file.
This commit is contained in:
@@ -21,8 +21,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ },
|
{ test: /\.(js|jsx)$/, loader: 'babel-loader', exclude: /node_modules/ },
|
||||||
{ test: /\.jsx$/, loader: 'babel-loader', exclude: /node_modules/ },
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user