Skip to content

Bump html-webpack-plugin from 5.5.3 to 5.6.0 #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps html-webpack-plugin from 5.5.3 to 5.6.0.

Changelog

Sourced from html-webpack-plugin's changelog.

5.6.0 (2023-12-19)

Features

  • add @rspack/core as an optional peer dependency (#1829) (56ff3ae)
  • Added support type=systemjs-module via the scriptLoading option (#1822) (7effc30)

Bug Fixes

5.5.4 (2023-12-06)

Bug Fixes

Commits
  • ebfa1ce chore(release): 5.6.0
  • 56ff3ae feat: add @rspack/core as an optional peer dependency (#1829)
  • c79f2cf fix: memoy leak (#1836)
  • 7effc30 feat: Added support type=systemjs-module via the scriptLoading option (#1...
  • 318cd4d docs: add html-webpack-inject-attributes-plugin to readme (#1787)
  • 91ba8bb chore(release): 5.5.4
  • fe231d3 docs: add js-entry-webpack-plugin (#1732)
  • 5c15284 test: case for watch/serve and reemitting assets (#1812)
  • a214736 fix: reemit assets from loaders (#1811)
  • 0db3c2b refactor: fix regression after refactor and testing (#1810)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 25, 2023
@getty104 getty104 requested a review from ohakutsu January 16, 2024 10:31
@acronhub
Copy link
Contributor

acronhub commented Jan 18, 2024

📝 このプラグインはなに?

バンドルを提供するための HTML ファイルの作成を簡素化するプラグイン

📝 変更履歴

  • 5.6.0 (2023-12-19)

    • 特徴
      • @rspack/coreオプションのピア依存関係として追加( #1829 ) ( 56ff3ae )
      • オプション ( #1822 ) ( 7effc30 )type=systemjs-moduleによるサポートを追加しました。scriptLoading
    • バグの修正
      • メモリ リーク ( #1836 ) ( c79f2cf )
  • 5.5.4 (2023-12-06)

    • バグの修正
      • typeスクリプトタグの未定義を避ける( #1809 ) ( 9959484 )
      • ローダーからアセットを再送信する ( #1811 ) ( a214736 )
      • サーブ/ウォッチ モードでファビコンを再送信する ( #1804 ) ( 57c5a4e )

@acronhub
Copy link
Contributor

📝 どうやってつかっている?

https://github.com/jantimon/html-webpack-plugin

qiita-cliだとこんな設定がしてある

webpack.config.js

  plugins: [
    new HtmlWebpackPlugin({
      template: "./src/client/index.html",
      publicPath: "/",
    }),
  ],
  • template: webpackテンプレートへの相対パスまたは絶対パス。
    デフォルトでは、src/index.ejs存在する場合はそれが使用されます。詳細についてはドキュメントを参照してください
  • publicPath: スクリプトとリンクタグに使用される publicPath

@acronhub
Copy link
Contributor

@dependabot rebase

Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.5.3 to 5.6.0.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](jantimon/html-webpack-plugin@v5.5.3...v5.6.0)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/html-webpack-plugin-5.6.0 branch from f407960 to 34eb15c Compare January 18, 2024 06:52
@acronhub
Copy link
Contributor

📝 動作確認

Webpackを使ってDistフォルダにHTMLを生成

$ yarn run build 
yarn run v1.22.19
warning ../../../../package.json: No license field
$ run-s build:server build:client
warning ../../../../package.json: No license field
$ tsc --build
warning ../../../../package.json: No license field
$ webpack
asset main.js 1.69 MiB [compared for emit] (name: main)
asset index.html 1010 bytes [compared for emit]
runtime modules 1.25 KiB 6 modules
orphan modules 236 bytes [orphan] 1 module
cacheable modules 1.55 MiB
  modules by path ./src/ 94.3 KiB
    modules by path ./src/client/components/ 74.9 KiB 25 modules
    modules by path ./src/client/lib/*.ts 6.71 KiB 6 modules
    modules by path ./src/client/templates/*.tsx 1.75 KiB 3 modules
    modules by path ./src/client/pages/items/*.tsx 9.34 KiB 2 modules
    ./src/client/index.tsx 443 bytes [built] [code generated]
    ./src/lib/qiita-cli-url.ts 1.16 KiB [built] [code generated]
  modules by path ./node_modules/ 1.46 MiB 37 modules
webpack 5.89.0 compiled successfully in 10741 ms
✨  Done in 13.22s.

Distファイルにできたファイルを使って実行

$ yarn qiita
yarn run v1.22.19
warning ../../../../package.json: No license field
$ node dist/main.js
(node:18504) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
Preview: http://[::1]:8888

Copy link
Contributor

@acronhub acronhub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acronhub acronhub merged commit 5270b60 into main Jan 18, 2024
@acronhub acronhub deleted the dependabot/npm_and_yarn/html-webpack-plugin-5.6.0 branch January 18, 2024 07:07
@acronhub acronhub mentioned this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant