Put both jsx and js varaibles on same line in config file.

This commit is contained in:
2017-12-02 11:35:39 +01:00
parent c11b222ee3
commit 9fcc82d7cf

View File

@@ -21,8 +21,7 @@ module.exports = {
],
module: {
loaders: [
{ test: /\.js$/, loader: 'babel-loader', exclude: /node_modules/ },
{ test: /\.jsx$/, loader: 'babel-loader', exclude: /node_modules/ },
{ test: /\.(js|jsx)$/, loader: 'babel-loader', exclude: /node_modules/ },
]
},