Skip to content
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

Bump html-bundler-webpack-plugin from 2.15.2 to 3.6.0 #499

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2024

Bumps html-bundler-webpack-plugin from 2.15.2 to 3.6.0.

Release notes

Sourced from html-bundler-webpack-plugin's releases.

v3.5.5

Cumulative Release v3.5.1 - v3.5.5

Bug Fixes

  • Fixed parsing the data passed via query in JSON notation, e.g.: index.ejs?{"title":"Homepage","lang":"en"}.
  • Fixed the parsing of the generated HTML, ignore files already resolved via a preprocessor, e.g. pug.
  • Fixed the resolving the resource required in pug code and content, also outer tag attributes.
  • Fixed the resolving of images generated via responsive-loader when used query parameters with , and & separators.
  • Fixed the resolving of the required resources in multiple pages, in Pug templates.
  • Fixed when used TS then could not find a declaration file for module 'html-bundler-webpack-plugin'.

Optimisations

  • Initialize the Config only once.
  • Lazy load the plugin config file.
  • Optimize code for other plugins extending from this plugin.

Documentation

The entry option can be as array of entry items:

{
  entry: [
    {
      filename: 'index.html', // output filename in dist/
      import: 'src/views/index.html', // template file
      data: { title: 'Homepage' }, // page specifically variables
    },
    {
      filename: 'news/sport.html',
      import: 'src/views/news/sport/index.html',
      data: { title: 'Sport' },
    },
  ],
}

v3.5.0

Features

  • Added support for Pug templating engine. The pug preprocessor based on the @​webdiscus/pug-loader source code and has the same options and features.

v3.4.12

Cumulative Release v3.4.7 - v3.4.12

Bug Fixes

... (truncated)

Changelog

Sourced from html-bundler-webpack-plugin's changelog.

3.6.0 (2024-03-08)

  • feat: resolve resource files in an attribute containing the JSON value using the require() function,
    source template:
    <a href="#" data-image='{ "alt":"image", "imgSrc": require("./pic1.png"), "bgImgSrc": require("./pic2.png") }'> ... </a>
    generated HTML contains resolved output assets filenames:
    <a href="#" data-image='{ "alt":"image", "imgSrc": "img/pic1.da3e3cc9.png", "bgImgSrc": "img/pic2.e3cc9da3.png" }'> ... </a>

3.5.5 (2024-03-03)

  • fix: initialize the singleton of the Config only once

3.5.4 (2024-03-03)

  • optimize: lazy load the plugin config file
  • refactor: change the label in output: html-bundler-webpack-plugin => HTML bundler plugin
  • refactor: optimize code for other plugins extending from this plugin.
    For example: the pug-plugin since the version 5.0.0 is extended from the html-bundler-webpack-plugin with Pug specifically settings.
  • docs: add description how to use the entry plugin option as the array of the EntryDescription, e.g.:
    {
      entry: [
        {
          filename: 'index.html', // output filename in dist/
          import: 'src/views/index.html', // template file
          data: { title: 'Homepage' }, // page specifically variables
        },
        {
          filename: 'news/sport.html',
          import: 'src/views/news/sport/index.html',
          data: { title: 'Sport' },
        },
      ],
    }

3.5.3 (2024-02-28)

  • fix: correct parsing the data passed via query in JSON notation, e.g.: index.ejs?{"title":"Homepage","lang":"en"}
  • fix: by parsing of the generated html ignore files already resolved via a preprocessor, e.g. pug
  • fix(pug): resolve resource required in pug code and content, also outer tag attributes
  • fix(pug): resolve images generated via responsive-loader when used query parameters with , and & separators
  • test: add tests from pug-plugin

3.5.2 (2024-02-20)

... (truncated)

Commits

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)

Bumps [html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin) from 2.15.2 to 3.6.0.
- [Release notes](https://github.com/webdiscus/html-bundler-webpack-plugin/releases)
- [Changelog](https://github.com/webdiscus/html-bundler-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webdiscus/html-bundler-webpack-plugin/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants