We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52bcb81 commit f07dedaCopy full SHA for f07deda
examples/rspack/rspack.config.mjs
@@ -52,6 +52,19 @@ export default {
52
},
53
module: {
54
rules: [
55
+ {
56
+ test: /\.ts$/,
57
+ exclude: [/node_modules/],
58
+ loader: 'builtin:swc-loader',
59
+ options: {
60
+ jsc: {
61
+ parser: {
62
+ syntax: 'typescript'
63
+ }
64
65
+ },
66
+ type: 'javascript/auto'
67
68
{
69
test: /\.vue$/,
70
loader: 'vue-loader'
examples/webpack/webpack.config.mjs
@@ -48,6 +48,14 @@ export default {
48
49
50
51
+ test: /\.tsx?$/,
+ loader: 'ts-loader',
+ exclude: /node_modules/,
+ transpileOnly: true
0 commit comments