@rsbuild/plugin-assets-retry 1.0.1 → 1.0.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.cjs +1 -1
- package/dist/index.js +3 -3
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -169,7 +169,7 @@ var pluginAssetsRetry = (userOptions = {}) => ({
|
|
|
169
169
|
const { inlineScript = true } = userOptions;
|
|
170
170
|
const getScriptPath = (environment) => {
|
|
171
171
|
const distDir = environment.config.output.distPath.js;
|
|
172
|
-
return import_node_path2.default.posix.join(distDir, `assets-retry.${"1.0.
|
|
172
|
+
return import_node_path2.default.posix.join(distDir, `assets-retry.${"1.0.14"}.js`);
|
|
173
173
|
};
|
|
174
174
|
const formatOptions = (config) => {
|
|
175
175
|
const options = { ...userOptions };
|
package/dist/index.js
CHANGED
|
@@ -16,12 +16,12 @@ var __publicField = (obj, key, value) => {
|
|
|
16
16
|
return value;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
// ../../node_modules/.pnpm/@modern-js+module-tools@2.
|
|
19
|
+
// ../../node_modules/.pnpm/@modern-js+module-tools@2.60.3_typescript@5.6.3/node_modules/@modern-js/module-tools/shims/esm.js
|
|
20
20
|
import path from "path";
|
|
21
21
|
import { fileURLToPath } from "url";
|
|
22
22
|
var getFilename, getDirname, __dirname;
|
|
23
23
|
var init_esm = __esm({
|
|
24
|
-
"../../node_modules/.pnpm/@modern-js+module-tools@2.
|
|
24
|
+
"../../node_modules/.pnpm/@modern-js+module-tools@2.60.3_typescript@5.6.3/node_modules/@modern-js/module-tools/shims/esm.js"() {
|
|
25
25
|
"use strict";
|
|
26
26
|
getFilename = () => fileURLToPath(import.meta.url);
|
|
27
27
|
getDirname = () => path.dirname(getFilename());
|
|
@@ -159,7 +159,7 @@ var pluginAssetsRetry = (userOptions = {}) => ({
|
|
|
159
159
|
const { inlineScript = true } = userOptions;
|
|
160
160
|
const getScriptPath = (environment) => {
|
|
161
161
|
const distDir = environment.config.output.distPath.js;
|
|
162
|
-
return path3.posix.join(distDir, `assets-retry.${"1.0.
|
|
162
|
+
return path3.posix.join(distDir, `assets-retry.${"1.0.14"}.js`);
|
|
163
163
|
};
|
|
164
164
|
const formatOptions = (config) => {
|
|
165
165
|
const options = { ...userOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-assets-retry",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Assets retry plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"serialize-javascript": "^6.0.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@babel/core": "^7.25.
|
|
31
|
-
"@babel/preset-env": "^7.25.
|
|
32
|
-
"@babel/preset-typescript": "^7.
|
|
30
|
+
"@babel/core": "^7.25.8",
|
|
31
|
+
"@babel/preset-env": "^7.25.8",
|
|
32
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
33
33
|
"@types/serialize-javascript": "^5.0.4",
|
|
34
|
-
"terser": "5.
|
|
35
|
-
"typescript": "^5.
|
|
36
|
-
"@rsbuild/core": "1.0.
|
|
34
|
+
"terser": "5.34.1",
|
|
35
|
+
"typescript": "^5.6.3",
|
|
36
|
+
"@rsbuild/core": "1.0.14"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@rsbuild/core": "1.x || ^1.0.1-rc.0"
|