mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
Merge pull request #20 from ZerbitX/master
Adding resolve to the config so it can find new Jsx components.
This commit is contained in:
@@ -22,6 +22,10 @@ module.exports = {
|
|||||||
reasons: true
|
reasons: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
resolve: {
|
||||||
|
extensions: ['','.js','.jsx']
|
||||||
|
},
|
||||||
|
|
||||||
module: {
|
module: {
|
||||||
preLoaders: [{
|
preLoaders: [{
|
||||||
test: '\\.js$',
|
test: '\\.js$',
|
||||||
|
|||||||
Reference in New Issue
Block a user