Skip to content

Commit f92e3d6

Browse files
Update rspack.config.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 61148af commit f92e3d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rspack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ module.exports = (env, options) => {
6262
// Source JS files - Custom JSX loader + SWC (JSX will be removed first)
6363
{
6464
use: [
65+
{
6566
{
6667
loader: 'builtin:swc-loader',
6768
options: {
6869
jsc: {
6970
parser: {
7071
syntax: 'ecmascript',
72+
jsx: false,
7173
},
7274
target: 'es2015',
7375
},

0 commit comments

Comments
 (0)