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

2.6.0

Diff

Changelog

Source

2.6.0 (2023-08-09)

  • feat: add the css.chunkFilename option for output filename of non-initial chunk files
  • feat: add the hotUpdate option to enable/disable live reload in serve/watch mode
  • fix: missing an output css file when the same style file is imported in js and linked in html
  • chore: add the "hello world" example
  • chore: add simple-site example with automatically processing many HTML templates
  • chore: add the Handlebars example
  • chore: add react-app example, ejected from create-react-app (alpha version)
webdiscus
published 2.5.1 •

Changelog

Source

2.5.1 (2023-08-04)

  • fix: missing output html file after renaming template file in watch mode when using entry as a path
  • chore: add example for bootstrap
  • chore: update npm packages
  • docs: update README
webdiscus
published 2.5.0 •

Changelog

Source

2.5.0 (2023-07-30)

  • feat: add the reference for data in the plugin options.
    The NEW syntactic "sugar":
    new HtmlBundlerPlugin({
      entry: {
        index: './src/views/home.ejs',
      },
      // new reference to the loaderOptions.data
      data: {...},
    }),
    
    The old syntax is still valid:
    new HtmlBundlerPlugin({
      entry: {
        index: './src/views/home.ejs',
      },
      loaderOptions: {
        // original option is under loaderOptions
        data: {...},
      },
    }),
    
  • refactor: code refactoring
  • test: add more tests
  • docs: update README
webdiscus
published 2.4.0 •

Changelog

Source

2.4.0 (2023-07-28)

  • feat: add support for Webpack CSS optimization
  • fix: resolving the same resources used in imported styles on different pages
webdiscus
published 2.3.1 •

Changelog

Source

2.3.1 (2023-07-27)

  • fix: add the missing types.d.ts file to npm package
webdiscus
published 2.3.0 •

Changelog

Source

2.3.0 (2023-07-27)

  • feat: add support for TS
  • docs: update README
webdiscus
published 2.2.3 •

Changelog

Source

2.2.3 (2023-07-25)

  • fix: correct importing styles in JS when used serve mode
webdiscus
published 2.2.2 •

Changelog

Source

2.2.2 (2023-07-25)

  • fix: importing the raw content of the html file in js
webdiscus
published 2.2.1 •

Changelog

Source

2.2.1 (2023-07-23)

  • fix: load the Handlebars's partials with allowed extensions only, #24
webdiscus
published 2.2.0 •

Changelog

Source

2.2.0 (2023-07-21)

  • feat: add the references for preprocessor and preprocessorOptions in the plugin options.
    The NEW syntactic "sugar":
    new HtmlBundlerPlugin({
      entry: {
        index: './src/views/home.ejs',
      },
      // new references to options in the loaderOptions
      preprocessor: 'ejs',
      preprocessorOptions: {...},
    }),
    
    The old syntax is still valid:
    new HtmlBundlerPlugin({
      entry: {
        index: './src/views/home.ejs',
      },
      loaderOptions: {
        // original options are under loaderOptions
        preprocessor: 'ejs',
        preprocessorOptions: {...},
      },
    }),
    
  • feat: improve performance when using the same style file in many templates
  • fix: correct order of styles when the same style is imported in many nested js files
  • chore: update npm packages
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