mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
*FIX* Added missing jsx filename test for babel-loader (was missing in web pack.dist). Fixes newtriks/generator-react-webpack#121
This commit is contained in:
parent
d739e98ad5
commit
62dda60bad
@ -34,7 +34,7 @@ module.exports = {
|
||||
],
|
||||
|
||||
resolve: {
|
||||
extensions: ['', '.js'],
|
||||
extensions: ['', '.js', '.jsx'],
|
||||
alias: {
|
||||
'styles': __dirname + '/src/styles',
|
||||
'mixins': __dirname + '/src/mixins',
|
||||
@ -51,7 +51,7 @@ module.exports = {
|
||||
loader: 'eslint-loader'
|
||||
}],
|
||||
loaders: [{
|
||||
test: /\.js$/,
|
||||
test: /\.(js|jsx)$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'babel-loader'
|
||||
}, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user