Skip to content
Browse files

fix webpack recognize jsx as modules

  • Loading branch information...
1 parent b2b72db commit 6565baed0b2bb4752e208c0362dc1fe021d04324 @BerkeleyTrue BerkeleyTrue committed
Showing with 8 additions and 0 deletions.
  1. +8 −0 webpack.config.js
View
8 webpack.config.js
@@ -34,6 +34,14 @@ module.exports = {
Buffer: false
},
+ resolve: {
+ extensions: [
+ '',
+ '.js',
+ '.jsx'
+ ]
+ },
+
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.DefinePlugin({

0 comments on commit 6565bae

Please sign in to comment.
Something went wrong with that request. Please try again.