mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-09 12:10:14 +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:
commit
dbaf0ccc51
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