Skip to content

Commit 2bcc220

Browse files
committed
Update webpack loader config test
1 parent 3cc5b82 commit 2bcc220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ReactTypeScript {
3535
webpackRules() {
3636
return [
3737
{
38-
test: /\.ts|.tsx?$|.js|.jsx?$|/,
38+
test: /(\.js)|(\.jsx)|(\.ts)|(\.tsx)$/,
3939
exclude: /(node_modules)/,
4040
use: [
4141
{

0 commit comments

Comments
 (0)