We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfb73a1 commit ed1fd71Copy full SHA for ed1fd71
rspack.config.js
@@ -11,9 +11,6 @@ module.exports = (env, options) => {
11
test: /\.tsx?$/,
12
exclude: /node_modules/,
13
use: [
14
- // First: Transform JSX to tag() calls
15
- path.resolve(__dirname, 'utils/custom-loaders/html-tag-jsx-loader.js'),
16
- // Then: Use SWC for TypeScript and ES6+ transpilation
17
{
18
loader: 'builtin:swc-loader',
19
options: {
@@ -26,6 +23,7 @@ module.exports = (env, options) => {
26
23
},
27
24
28
25
+ path.resolve(__dirname, 'utils/custom-loaders/html-tag-jsx-loader.js'),
29
],
30
31
// JavaScript files
0 commit comments