@rsbuild/plugin-assets-retry 0.0.28 → 1.0.0
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 +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -151,7 +151,7 @@ __export(src_exports, {
|
|
|
151
151
|
module.exports = __toCommonJS(src_exports);
|
|
152
152
|
var import_shared2 = require("@rsbuild/shared");
|
|
153
153
|
var pluginAssetsRetry = (options = {}) => ({
|
|
154
|
-
name: "
|
|
154
|
+
name: "rsbuild:assets-retry",
|
|
155
155
|
setup(api) {
|
|
156
156
|
api.modifyBundlerChain(async (chain, { CHAIN_ID, target, HtmlPlugin }) => {
|
|
157
157
|
const config = api.getNormalizedConfig();
|
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.40.0_typescript@5.
|
|
29
|
+
// ../../node_modules/.pnpm/@modern-js+module-tools@2.40.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.40.0_typescript@5.
|
|
34
|
+
"../../node_modules/.pnpm/@modern-js+module-tools@2.40.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());
|
|
@@ -157,7 +157,7 @@ init_esm();
|
|
|
157
157
|
init_require_shims();
|
|
158
158
|
import { getDistPath, isHtmlDisabled } from "@rsbuild/shared";
|
|
159
159
|
var pluginAssetsRetry = (options = {}) => ({
|
|
160
|
-
name: "
|
|
160
|
+
name: "rsbuild:assets-retry",
|
|
161
161
|
setup(api) {
|
|
162
162
|
api.modifyBundlerChain(async (chain, { CHAIN_ID, target, HtmlPlugin }) => {
|
|
163
163
|
const config = api.getNormalizedConfig();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-assets-retry",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
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.0
|
|
26
|
+
"@rsbuild/shared": "1.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/core": "^7.23.2",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"@types/serialize-javascript": "^5.0.1",
|
|
33
33
|
"html-webpack-plugin": "npm:html-rspack-plugin@5.5.7",
|
|
34
34
|
"terser": "5.19.2",
|
|
35
|
-
"typescript": "^5.
|
|
36
|
-
"@rsbuild/
|
|
37
|
-
"@rsbuild/
|
|
35
|
+
"typescript": "^5.3.0",
|
|
36
|
+
"@rsbuild/core": "1.0.0",
|
|
37
|
+
"@rsbuild/test-helper": "1.0.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|