@rsbuild/plugin-assets-retry 0.1.9 → 0.2.1
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
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.1
|
|
91
|
+
`assets-retry.${"0.2.1"}.js`
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
return this.scriptPath;
|
|
@@ -161,7 +161,7 @@ var pluginAssetsRetry = (options = {}) => ({
|
|
|
161
161
|
return;
|
|
162
162
|
}
|
|
163
163
|
const { AssetsRetryPlugin: AssetsRetryPlugin2 } = await Promise.resolve().then(() => (init_AssetsRetryPlugin(), AssetsRetryPlugin_exports));
|
|
164
|
-
const distDir = (0, import_shared2.getDistPath)(config
|
|
164
|
+
const distDir = (0, import_shared2.getDistPath)(config, "js");
|
|
165
165
|
if (options.crossOrigin === void 0) {
|
|
166
166
|
options.crossOrigin = config.html.crossorigin;
|
|
167
167
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -96,7 +96,7 @@ var init_AssetsRetryPlugin = __esm({
|
|
|
96
96
|
if (!this.scriptPath) {
|
|
97
97
|
this.scriptPath = path2.join(
|
|
98
98
|
this.distDir,
|
|
99
|
-
`assets-retry.${"0.1
|
|
99
|
+
`assets-retry.${"0.2.1"}.js`
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
return this.scriptPath;
|
|
@@ -166,7 +166,7 @@ var pluginAssetsRetry = (options = {}) => ({
|
|
|
166
166
|
return;
|
|
167
167
|
}
|
|
168
168
|
const { AssetsRetryPlugin: AssetsRetryPlugin2 } = await Promise.resolve().then(() => (init_AssetsRetryPlugin(), AssetsRetryPlugin_exports));
|
|
169
|
-
const distDir = getDistPath(config
|
|
169
|
+
const distDir = getDistPath(config, "js");
|
|
170
170
|
if (options.crossOrigin === void 0) {
|
|
171
171
|
options.crossOrigin = config.html.crossorigin;
|
|
172
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-assets-retry",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
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.1
|
|
27
|
+
"@rsbuild/shared": "0.2.1"
|
|
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.1
|
|
38
|
-
"@rsbuild/test-helper": "0.1
|
|
37
|
+
"@rsbuild/core": "0.2.1",
|
|
38
|
+
"@rsbuild/test-helper": "0.2.1"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public",
|