Releases: vuejs/vue-loader
v14.2.0
Features
- New option
threadMode
: set this totrue
enables fs-based options sharing. Only needed when using with HappyPack orthread-loader
. - New option
postcss.cascade
: setting this totrue
allows using cascading postcss config files. (#1147) (dddd911), closes #1063 - use more sensible default localIdentName for css modules (now
[local]_[hash:base64:8]
) (084bf3d)
Bug Fixes
- Removed use of
this._compilation
, fixing #1160 and compat with HappyPack /thread-loader
- get transformToRequire from vueOptions instead of options for template-compiler (#1175) (8b912ad)
- removed module id for non-scoped component (#1146) (0b36a2c), closes #853
- avoid adding index to css modules in first <style> tag (2c8d1fb), closes #703 #818
v14.1.0
v14.0.0
v13.7.0
- Template URL handling: static URLs that start with
@
are now also transformed into module requests. The documentation has also been updated with more details on the transform rules.
v13.6.2
-
The source map cache busting feature is now removed, as it no longer makes any difference w/ webpack 3 and latest Chrome. The related option is also removed. To get correct source map after a hot-reload, you need to refresh your devtools by pressing cmd/ctrl + R when in devtools.
-
Fixed source map line being off by 1 line
v13.6.1
Bug Fixes
-
More descriptive error message when failed loading PostCSS config file
-
Improve template compiler asset URL transform defaults. Now the default transformed tag/attr pairs are:
{ video: ['src', 'poster'], source: 'src', img: 'src', image: 'xlink:href' }
v13.6.0
v13.5.1
Bug Fixes
- animation value replacement (#1058) (6d3c5b2)
- avoid hash collision in prod by including both filepath and content (#1086) (b526349)
- handle default export in custom blocks (#1081) (7459a87)
- more robust handling for parsing 'srcset' attribute value (#1057) (ddcea20), closes #1052 #1052
- only generate CSS source map when needed (1809031), closes #1070
v13.5.0
v13.4.0
New
-
In production mode, Scoped IDs are now generated using file content to ensure consistency when distributing built files. Note in dev mode, scope IDs are still generated using file paths because that is required to ensure consistent file requests across edits in order to support hot-reload.
-
transformToRequire
option now support wildcard tags (e.g.{ '*': 'src' }
)