Skip to content

Commit

Permalink
do not transform .js files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaciras committed Jan 17, 2024
1 parent f6f9f87 commit 17099d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"runtime": "automatic"
}
},
"target": "es2022"
"target": "esnext"
}
}
}
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function (env) {

const loaders = [
{
test: /\.[jt]sx?$/,
test: /\.tsx?$/,
use: "swc-loader",
},
{
Expand Down

0 comments on commit 17099d0

Please sign in to comment.