@rsbuild/plugin-assets-retry 0.1.2 → 0.1.4

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
@@ -86,8 +86,10 @@ var init_AssetsRetryPlugin = __esm({
86
86
  }
87
87
  async getScriptPath() {
88
88
  if (!this.scriptPath) {
89
- const version = await (0, import_shared.getRsbuildVersion)();
90
- this.scriptPath = import_path.default.join(this.distDir, `assets-retry.${version}.js`);
89
+ this.scriptPath = import_path.default.join(
90
+ this.distDir,
91
+ `assets-retry.${"0.1.4"}.js`
92
+ );
91
93
  }
92
94
  return this.scriptPath;
93
95
  }
package/dist/index.mjs CHANGED
@@ -59,7 +59,6 @@ import {
59
59
  fse,
60
60
  withPublicPath,
61
61
  generateScriptTag,
62
- getRsbuildVersion,
63
62
  getPublicPathFromCompiler,
64
63
  COMPILATION_PROCESS_STAGE
65
64
  } from "@rsbuild/shared";
@@ -95,8 +94,10 @@ var init_AssetsRetryPlugin = __esm({
95
94
  }
96
95
  async getScriptPath() {
97
96
  if (!this.scriptPath) {
98
- const version = await getRsbuildVersion();
99
- this.scriptPath = path2.join(this.distDir, `assets-retry.${version}.js`);
97
+ this.scriptPath = path2.join(
98
+ this.distDir,
99
+ `assets-retry.${"0.1.4"}.js`
100
+ );
100
101
  }
101
102
  return this.scriptPath;
102
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-assets-retry",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Assets retry plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "serialize-javascript": "^6.0.0",
26
- "@rsbuild/shared": "0.1.2"
26
+ "@rsbuild/shared": "0.1.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/core": "^7.23.2",
@@ -33,8 +33,8 @@
33
33
  "html-webpack-plugin": "npm:html-rspack-plugin@5.5.7",
34
34
  "terser": "5.19.2",
35
35
  "typescript": "^5.3.0",
36
- "@rsbuild/core": "0.1.2",
37
- "@rsbuild/test-helper": "0.1.2"
36
+ "@rsbuild/core": "0.1.4",
37
+ "@rsbuild/test-helper": "0.1.4"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",