@rsbuild/plugin-assets-retry 0.1.1 → 0.1.2
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.mjs +5 -5
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -39,10 +39,10 @@ var init_esm = __esm({
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
// ../../scripts/
|
|
42
|
+
// ../../scripts/requireShims.js
|
|
43
43
|
import { createRequire } from "module";
|
|
44
|
-
var
|
|
45
|
-
"../../scripts/
|
|
44
|
+
var init_requireShims = __esm({
|
|
45
|
+
"../../scripts/requireShims.js"() {
|
|
46
46
|
"use strict";
|
|
47
47
|
global.require = createRequire(import.meta.url);
|
|
48
48
|
}
|
|
@@ -68,7 +68,7 @@ var init_AssetsRetryPlugin = __esm({
|
|
|
68
68
|
"src/AssetsRetryPlugin.ts"() {
|
|
69
69
|
"use strict";
|
|
70
70
|
init_esm();
|
|
71
|
-
|
|
71
|
+
init_requireShims();
|
|
72
72
|
AssetsRetryPlugin = class {
|
|
73
73
|
constructor(options) {
|
|
74
74
|
__privateAdd(this, _retryOptions, void 0);
|
|
@@ -154,7 +154,7 @@ var init_AssetsRetryPlugin = __esm({
|
|
|
154
154
|
|
|
155
155
|
// src/index.ts
|
|
156
156
|
init_esm();
|
|
157
|
-
|
|
157
|
+
init_requireShims();
|
|
158
158
|
import { getDistPath, isHtmlDisabled } from "@rsbuild/shared";
|
|
159
159
|
var pluginAssetsRetry = (options = {}) => ({
|
|
160
160
|
name: "rsbuild:assets-retry",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-assets-retry",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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.
|
|
26
|
+
"@rsbuild/shared": "0.1.2"
|
|
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.
|
|
37
|
-
"@rsbuild/test-helper": "0.1.
|
|
36
|
+
"@rsbuild/core": "0.1.2",
|
|
37
|
+
"@rsbuild/test-helper": "0.1.2"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|