Skip to content

Commit

Permalink
perf: bump html-rspack-plugin 6.0.0-beta.8 (#2898)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Jul 12, 2024
1 parent f01e3f9 commit 7b6f271
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 429 deletions.
38 changes: 0 additions & 38 deletions packages/compat/webpack/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -322,25 +322,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = `
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down Expand Up @@ -731,25 +712,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when produ
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,6 @@ exports[`webpackConfig > should allow to append and prepend plugins 1`] = `
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"dotenv": "16.4.5",
"dotenv-expand": "11.0.6",
"fs-extra": "^11.2.0",
"html-rspack-plugin": "6.0.0-beta.7",
"html-rspack-plugin": "6.0.0-beta.8",
"http-compression": "1.0.20",
"http-proxy-middleware": "^2.0.6",
"jiti": "^1.21.6",
Expand Down
19 changes: 0 additions & 19 deletions packages/core/tests/__snapshots__/builder.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -364,25 +364,6 @@ exports[`should use rspack as default bundler > apply rspack correctly 1`] = `
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down
57 changes: 0 additions & 57 deletions packages/core/tests/__snapshots__/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -364,25 +364,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly 1`] = `
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down Expand Up @@ -810,25 +791,6 @@ exports[`applyDefaultPlugins > should apply default plugins correctly when prod
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down Expand Up @@ -1575,25 +1537,6 @@ exports[`tools.rspack > should match snapshot 1`] = `
"title": "Rsbuild App",
"xhtml": false,
},
"userOptions": {
"chunks": [
"index",
],
"entryName": "index",
"filename": "index.html",
"inject": "head",
"meta": {
"charset": {
"charset": "UTF-8",
},
"viewport": "width=device-width, initial-scale=1.0",
},
"scriptLoading": "defer",
"template": "",
"templateContent": "<!doctype html><html><head></head><body><div id=\\"root\\"></div></body></html>",
"templateParameters": [Function],
"title": "Rsbuild App",
},
"version": 6,
},
HtmlBasicPlugin {
Expand Down
Loading

0 comments on commit 7b6f271

Please sign in to comment.