@rsbuild/webpack 0.2.15 → 0.2.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,6 @@ var import_shared2 = require("../shared");
36
36
  async function modifyWebpackChain(context, utils, chain) {
37
37
  (0, import_shared.debug)("modify webpack chain");
38
38
  const [modifiedChain] = await context.hooks.modifyWebpackChainHook.call(
39
- // @ts-expect-error `chain` in the sig of modifyWebpackChainHook is `RspackChain`.
40
39
  chain,
41
40
  utils
42
41
  );
@@ -59,7 +59,7 @@ function pluginSass() {
59
59
  // postcss-loader, resolve-url-loader, sass-loader
60
60
  importLoaders: 3
61
61
  });
62
- rule.use(utils.CHAIN_ID.USE.RESOLVE_URL_LOADER_FOR_SASS).loader((0, import_shared.getSharedPkgCompiledPath)("resolve-url-loader")).options({
62
+ rule.use(utils.CHAIN_ID.USE.RESOLVE_URL).loader((0, import_shared.getSharedPkgCompiledPath)("resolve-url-loader")).options({
63
63
  join: await (0, import_shared.getResolveUrlJoinFn)(),
64
64
  // 'resolve-url-loader' relies on 'adjust-sourcemap-loader',
65
65
  // it has performance regression issues in some scenarios,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/webpack",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "homepage": "https://rsbuild.dev",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,14 +35,13 @@
35
35
  "terser-webpack-plugin": "5.3.9",
36
36
  "tsconfig-paths-webpack-plugin": "4.1.0",
37
37
  "webpack": "^5.89.0",
38
- "webpack-5-chain": "8.0.1",
39
- "@rsbuild/shared": "0.2.15",
40
- "@rsbuild/core": "0.2.15"
38
+ "@rsbuild/core": "0.2.17",
39
+ "@rsbuild/shared": "0.2.17"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@types/node": "16.x",
44
43
  "typescript": "^5.3.0",
45
- "@rsbuild/test-helper": "0.2.15"
44
+ "@rsbuild/test-helper": "0.2.17"
46
45
  },
47
46
  "publishConfig": {
48
47
  "access": "public",