@rsbuild/plugin-assets-retry 1.0.0-alpha.4 → 1.0.0-alpha.6

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.
@@ -1,5 +1,5 @@
1
1
  import { type Rspack } from '@rsbuild/core';
2
- import type HtmlWebpackPlugin from 'html-webpack-plugin';
2
+ import type HtmlWebpackPlugin from 'html-rspack-plugin';
3
3
  import type { PluginAssetsRetryOptions } from './types';
4
4
  export declare class AssetsRetryPlugin implements Rspack.RspackPluginInstance {
5
5
  #private;
package/dist/index.cjs CHANGED
@@ -106,7 +106,7 @@ var init_AssetsRetryPlugin = __esm({
106
106
  if (!this.scriptPath) {
107
107
  this.scriptPath = import_node_path.default.posix.join(
108
108
  this.distDir,
109
- `assets-retry.${"1.0.0-alpha.4"}.js`
109
+ `assets-retry.${"1.0.0-alpha.6"}.js`
110
110
  );
111
111
  }
112
112
  return this.scriptPath;
@@ -139,9 +139,7 @@ var init_AssetsRetryPlugin = __esm({
139
139
  async (data) => {
140
140
  const scriptTag = {
141
141
  tagName: "script",
142
- attributes: {
143
- type: "text/javascript"
144
- },
142
+ attributes: {},
145
143
  voidTag: false,
146
144
  meta: {}
147
145
  };
package/dist/index.js CHANGED
@@ -34,12 +34,12 @@ var __privateSet = (obj, member, value, setter) => {
34
34
  return value;
35
35
  };
36
36
 
37
- // ../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
37
+ // ../../node_modules/.pnpm/@modern-js+module-tools@2.54.6_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
38
38
  import { fileURLToPath } from "url";
39
39
  import path from "path";
40
40
  var getFilename, getDirname, __dirname;
41
41
  var init_esm = __esm({
42
- "../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
42
+ "../../node_modules/.pnpm/@modern-js+module-tools@2.54.6_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
43
43
  "use strict";
44
44
  getFilename = () => fileURLToPath(import.meta.url);
45
45
  getDirname = () => path.dirname(getFilename());
@@ -101,7 +101,7 @@ var init_AssetsRetryPlugin = __esm({
101
101
  if (!this.scriptPath) {
102
102
  this.scriptPath = path2.posix.join(
103
103
  this.distDir,
104
- `assets-retry.${"1.0.0-alpha.4"}.js`
104
+ `assets-retry.${"1.0.0-alpha.6"}.js`
105
105
  );
106
106
  }
107
107
  return this.scriptPath;
@@ -134,9 +134,7 @@ var init_AssetsRetryPlugin = __esm({
134
134
  async (data) => {
135
135
  const scriptTag = {
136
136
  tagName: "script",
137
- attributes: {
138
- type: "text/javascript"
139
- },
137
+ attributes: {},
140
138
  voidTag: false,
141
139
  meta: {}
142
140
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-assets-retry",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.6",
4
4
  "description": "Assets retry plugin for Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -30,13 +30,13 @@
30
30
  "@babel/preset-env": "^7.24.7",
31
31
  "@babel/preset-typescript": "^7.24.7",
32
32
  "@types/serialize-javascript": "^5.0.4",
33
- "html-webpack-plugin": "npm:html-rspack-plugin@5.7.2",
33
+ "html-rspack-plugin": "6.0.0-beta.3",
34
34
  "terser": "5.31.1",
35
35
  "typescript": "^5.5.2",
36
- "@rsbuild/core": "1.0.0-alpha.4"
36
+ "@rsbuild/core": "1.0.0-alpha.6"
37
37
  },
38
38
  "peerDependencies": {
39
- "@rsbuild/core": "^1.0.0-alpha.4"
39
+ "@rsbuild/core": "^1.0.0-alpha.6"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public",