Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from web-infra-dev/compatible-with-0.4.0
Browse files Browse the repository at this point in the history
chore: fix rspack@0.4.0 compat issue
  • Loading branch information
bvanjoi authored Nov 20, 2023
2 parents 48b5bd9 + 56d9bd3 commit d43cca2
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/babel-loader@9/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ module.exports = defineConfig({
}
}
]
},
experiments: {
rspackFuture: {
disableTransformByDefault:true
}
}
});;
24 changes: 23 additions & 1 deletion packages/fork-ts-checker-webpack-plugin@8/rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,27 @@ const ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin");
module.exports = defineConfig({
plugins: [
new ForkTsCheckerWebpackPlugin()
]
],
module: {
rules: [
{
test: /\.ts$/,
use: [{
loader: 'builtin:swc-loader',
options: {
jsc: {
parser: {
syntax: 'typescript'
}
}
}
}]
}
]
},
experiments: {
rspackFuture: {
disableTransformByDefault: true
}
}
});;

0 comments on commit d43cca2

Please sign in to comment.