Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit 1c9dd30

Browse files
committed
Add .jsx to resolver for webpack.
1 parent 1966ed3 commit 1c9dd30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/simple/webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ module.exports = {
2424
exclude: /node_modules/,
2525
include: __dirname
2626
} ]
27+
},
28+
resolve: {
29+
extensions: [ '', '.js', '.jsx' ],
30+
modulesDirectories: [ 'node_modules' ]
2731
}
2832
};

0 commit comments

Comments
 (0)