html-bundler-webpack-plugin
Advanced tools
Changelog
4.15.0-beta.0 (2025-01-20)
type PreloadFilter =
| RegExp
| Array<RegExp>
| { includes?: Array<RegExp>; excludes?: Array<RegExp> }
| ((asset: { sourceFiles: Array<string>; outputFile: string }) => void | boolean); // <= BRAKING CHANGES compared to v4.14.0 (DEPRECATED)
Changelog
4.14.0 (2025-01-19) DEPRECATED (filter API will be changed in next version)
filter
for the preload
option
type AdvancedFilter =
| RegExp
| Array<RegExp>
| { includes?: Array<RegExp>; excludes?: Array<RegExp> }
| ((value: string) => void | true | false); // <= string argument DEPRECATED
Changelog
4.13.0 (2025-01-18)
Changelog
4.12.3 (2025-01-18)
Changelog
4.12.2 (2025-01-13)
renderStage
option lower than PROCESS_ASSETS_STAGE_SUMMARIZE
, #137Changelog
4.12.1 (2025-01-12)
as=font
is used in preload and the crossorigin
is not defined,
it will be added automatically, because the crossorigin
is mandatory for font
typeChangelog
4.12.0 (2025-01-12)
?inline
query to load assets as data URL?inline
queryChangelog
4.12.0-beta.0 (2025-01-06)
?inline
query by importing SVG file in JS as data URL
import file from './image.svg'; // import according the matched webpack config, defaults as output filename
import file from './image.svg?inline'; // import as UTF-8 data URL
import file from './image.svg?inline=utf8'; // import as UTF-8 data URL
import file from './image.svg?inline=base64'; // import as base64-encoded data URL
Changelog
4.11.0 (2024-12-27)
renderStage
option to define the stage for rendering output HTML in the processAssets Webpack hookcompression-webpack-plugin
to save completely rendered HTML, #134