Skip to content

v4.5.3

Latest
Compare
Choose a tag to compare
@webdiscus webdiscus released this 03 Dec 13:09
· 26 commits to master since this release
f8ad5c9

Cumulative Release v4.3.0 - v4.5.3

Features

  • Added the preprocessor for Tempura template engine.
  • Added the context loader option to resolve assets w/o leading / in a directory outer your project:
    new HtmlBundlerPlugin({
      loaderOptions: {
        context: path.resolve(__dirname, '../other/'),
      },
    }),
  • Added the Exception when used splitChunks and occurs the error: Can't resolve a CSS file in template.
  • Added support the HMR for styles imported in JavaScript files.
  • Added new css.hot option to enable HMR for styles.

Bug Fixes

  • Fixed issue when used multiple config and cache filesystem, occurs the error 'PersistentCache is already registered'.
  • Fixed correct Exception message when a source CSS file is not found.
  • Fixed issue by inline a style when in the tag used single quotes for attribute.
  • Fixed issue when used splitChunks.chunks option then this options will be removed and will be displayed a warning.
    This option makes no sense, because we will split only scripts.
  • Fixed issue by HMR when CSS contains a comment with back-tick quotes.
  • Fixed issue by HMR when CSS contains Tailwind-like style names with backslashes, e.g.: .\32xl\:w-96, .lg\:ml-4.