Skip to content

Commit 55a19d7

Browse files
authored
Support React tsx and jsx files in webpack config
1 parent 01d2efd commit 55a19d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ module.exports = {
2525
],
2626
},
2727
resolve: {
28-
extensions: ['.ts', '.js'],
28+
extensions: ['.ts', '.js', '.tsx', '.jsx'],
2929
},
3030
}

0 commit comments

Comments
 (0)