@rsbuild/plugin-assets-retry 0.2.12 → 0.2.14

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.
package/dist/index.js CHANGED
@@ -88,7 +88,7 @@ var init_AssetsRetryPlugin = __esm({
88
88
  if (!this.scriptPath) {
89
89
  this.scriptPath = import_path.default.join(
90
90
  this.distDir,
91
- `assets-retry.${"0.2.12"}.js`
91
+ `assets-retry.${"0.2.14"}.js`
92
92
  );
93
93
  }
94
94
  return this.scriptPath;
@@ -101,7 +101,7 @@ var init_AssetsRetryPlugin = __esm({
101
101
  compilation.hooks.processAssets.tapPromise(
102
102
  {
103
103
  name: this.name,
104
- stage: import_shared.COMPILATION_PROCESS_STAGE.PROCESS_ASSETS_STAGE_PRE_PROCESS
104
+ stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS
105
105
  },
106
106
  async (assets) => {
107
107
  const scriptPath = await this.getScriptPath();
package/dist/index.mjs CHANGED
@@ -26,12 +26,12 @@ var __privateSet = (obj, member, value, setter) => {
26
26
  return value;
27
27
  };
28
28
 
29
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.43.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
29
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.44.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js
30
30
  import { fileURLToPath } from "url";
31
31
  import path from "path";
32
32
  var getFilename, getDirname, __dirname;
33
33
  var init_esm = __esm({
34
- "../../node_modules/.pnpm/@modern-js+module-tools@2.43.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
34
+ "../../node_modules/.pnpm/@modern-js+module-tools@2.44.0_typescript@5.3.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
35
35
  "use strict";
36
36
  getFilename = () => fileURLToPath(import.meta.url);
37
37
  getDirname = () => path.dirname(getFilename());
@@ -59,8 +59,7 @@ import {
59
59
  fse,
60
60
  withPublicPath,
61
61
  generateScriptTag,
62
- getPublicPathFromCompiler,
63
- COMPILATION_PROCESS_STAGE
62
+ getPublicPathFromCompiler
64
63
  } from "@rsbuild/shared";
65
64
  var _retryOptions, AssetsRetryPlugin;
66
65
  var init_AssetsRetryPlugin = __esm({
@@ -96,7 +95,7 @@ var init_AssetsRetryPlugin = __esm({
96
95
  if (!this.scriptPath) {
97
96
  this.scriptPath = path2.join(
98
97
  this.distDir,
99
- `assets-retry.${"0.2.12"}.js`
98
+ `assets-retry.${"0.2.14"}.js`
100
99
  );
101
100
  }
102
101
  return this.scriptPath;
@@ -109,7 +108,7 @@ var init_AssetsRetryPlugin = __esm({
109
108
  compilation.hooks.processAssets.tapPromise(
110
109
  {
111
110
  name: this.name,
112
- stage: COMPILATION_PROCESS_STAGE.PROCESS_ASSETS_STAGE_PRE_PROCESS
111
+ stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS
113
112
  },
114
113
  async (assets) => {
115
114
  const scriptPath = await this.getScriptPath();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-assets-retry",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Assets retry plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "serialize-javascript": "^6.0.0",
27
- "@rsbuild/shared": "0.2.12"
27
+ "@rsbuild/shared": "0.2.14"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/core": "^7.23.2",
@@ -34,8 +34,8 @@
34
34
  "html-webpack-plugin": "npm:html-rspack-plugin@5.5.7",
35
35
  "terser": "5.19.2",
36
36
  "typescript": "^5.3.0",
37
- "@rsbuild/core": "0.2.12",
38
- "@rsbuild/test-helper": "0.2.12"
37
+ "@rsbuild/core": "0.2.14",
38
+ "@rsbuild/test-helper": "0.2.14"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public",