Skip to content

Commit 6b2667a

Browse files
committed
chore: fix webpack
1 parent 646be10 commit 6b2667a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = {
6363
module: {
6464
rules: [
6565
{
66-
test: /\.js$/,
66+
test: /\.jsx?$/,
6767
exclude: [/node_modules/],
6868
use: [
6969
{
@@ -92,6 +92,7 @@ module.exports = {
9292
],
9393
},
9494
resolve: {
95+
extensions: ['.js', '.jsx', '.json', '.wasm'],
9596
alias: {
9697
'react-tabs': path.resolve(__dirname, 'src/index'),
9798
},

0 commit comments

Comments
 (0)