mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-28 13:00:47 +08:00
Adding resolve to the config so it can find new Jsx components.
This commit is contained in:
1 parent
d73699fbf2
commit
e970c362b7
1 file changed
+4
@@ -22,6 +22,10 @@ module.exports = {
|
||||
reasons: true
|
||||
},
|
||||
|
||||
resolve: {
|
||||
extensions: ['','.js','.jsx']
|
||||
},
|
||||
|
||||
module: {
|
||||
preLoaders: [{
|
||||
test: '\\.js$',
|
||||
|
||||
Reference in new issue
Block a user