New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

html-bundler-webpack-plugin

Package Overview
Dependencies
Maintainers
0
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-bundler-webpack-plugin - npm Package Versions

1
20

1.3.0

Diff

Changelog

Source

1.3.0 (2023-02-23)

  • feat: add watchFiles option to configure paths and files to watch file changes
webdiscus
published 1.2.1 •

Changelog

Source

1.2.1 (2023-02-22)

  • fix: resolve correct output asset path when the publicPath is a URL
  • docs: add description of important Webpack options used to properly configure the plugin
webdiscus
published 1.2.0 •

Changelog

Source

1.2.0 (2023-02-21)

  • feat: set the config option root of the Eta preprocessor as current working dir by defaults, now you can use the template root path, e.g.:
    <%~ includeFile('/src/views/partials/header') %>
    
  • test: add test async preprocessor for Eta
  • docs: add back to contents navigation in readme, improve readme
webdiscus
published 1.1.2 •

Changelog

Source

1.1.2 (2023-02-20)

  • fix: resolving of assets under Windows
  • docs: update readme
webdiscus
published 1.1.1 •

Changelog

Source

1.1.1 (2023-02-19)

  • fix: handling an issue when used an async preprocessor
  • refactor: optimize handling of loader options
  • test: add test case for issue in async preprocessor
  • docs: improve readme
webdiscus
published 1.1.0 •

Changelog

Source

1.1.0 (2023-02-18)

  • feat: add support for both async and sync preprocessor, the preprocessor should return a string or a promise. This can be used for async templating engines like LiquidJs, EJS, Nunjucks.
  • feat: add resolving of href attribute in the SVG <image> and <use> tags, by defaults
    <svg><image href="image.png"></image></svg> <svg><use href="icons.svg#home"></use></svg>
    
  • feat: improve error handling in the loader
  • fix: add only unique optional sources attribute
  • test: add async tests for templating engines LiquidJS, EJS, Nunjucks
  • core: update dev packages
  • docs: add in readme description of new features
webdiscus
published 1.0.0 •

Changelog

Source

1.0.0 (2023-02-14) Stable release

Changes:

Defaults, HTML templates defined in the entry are processed via Eta (same EJS syntax) templating engine. If you have pure HTML file you can disable this processing to save the compilation time:

  {
    test: /\.html$/,
    loader: HtmlBundlerPlugin.loader,
    options: {
      preprocessor: false, // <= disable default processing
    },
  },

Features:

  • feat: add the default template loader in Webpack module.rule.
    In most cases, the default loader options are used. You can omit the template loader in module.rule, then the default template loader will be added automatically:
    {
      test: /\.(html|ejs|eta)$/,
      loader: HtmlBundlerPlugin.loader,
    },
    
  • feat: add the Eta templating engine (smaller and faster alternative to EJS with same syntax) as the default preprocessor. If no preprocessor option is specified, Eta is used in the preprocessor.
  • feat: add minify option
  • test: add tests for the default loader and the default preprocessor
webdiscus
published 0.10.1 •

Changelog

Source

0.10.1 (2023-02-12)

  • fix: error by display verbose inlined module
  • test: add verbose test when a module is inlined
  • test: add manual test for multiple pages with inlined resources
webdiscus
published 0.10.0 •

Changelog

Source

0.10.0 (2023-02-11)

  • feat: improve verbose information output for extracted scripts
  • fix: resolve scripts in diff pages generated from one template
  • fix: warning for duplicate files when many html files are generated from one template
  • refactor: optimise code structure, code cleanup
  • refactor: optimize code for processing of scripts
  • test: add base and advanced test template for new issues
  • chore: add GitHub CONTRIBUTING.md
  • chore: add GitHub PULL_REQUEST_TEMPLATE.md
  • chore: add GitHub ISSUE_TEMPLATE
  • chore: add SECURITY.md
  • docs: update content structure, improve readme content
webdiscus
published 0.9.1 •

Changelog

Source

0.9.1 (2023-02-08)

  • fix: resolve filename containing a URI fragment, e.g.:
    <use href="./icons.svg#home"></use>
    
  • fix: resolve assets when the same file is used on many pages generated from the same template
  • fix: pass data to template after changes when using HMR
  • fix: by verbose display a file path relative by working directory instead of an absolute path
  • refactor: code optimisation
  • test: add tests for bugfixes
  • docs: update readme
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc