v3.17.4
Cumulative Release v3.13.0
- v3.17.4
Features
- Added support the
?inline
query for styles imported in JavaScript:import './style-a.css?inline'; // the extracted CSS will be injected into HTML import './style-b.css'; // the extracted CSS will be saved into separate output file
- Added
runtime
option for thehandlebars
preprocessor. - Updated
eta
package to latest version 3.4.0. - Added
watchFiles.includes
andwatchFiles.excludes
options to allow watch specifically external file,
e.g. *.md file included via Pug filter from any location outer project directory. - Added resolving the url() value in the style attribute:
<div style="background-image: url(./image.png);"></div>
Bug Fixes
- Fixed ERROR in RealContentHashPlugin when using integrity in serv/watch mode after changes in dynamic imported JS files or after adding new import file
- Fixed issue in dev mode imports SCSS in JS when in the same file is inlined another SCSS file via
?inline
query, #102. - Fixed error when
integrity
option is enabled but no template defined in entry, #107. - Fixed issue when using the integrity option, leaves the original attributes in the script tag as is.
- Resolving source file in a tag attribute when another attribute contains the
>
char, e.g.:<img src="./arrow.png" alt="right->">