Skip to content

Releases: vuejs/vue-loader

v14.2.0

07 Mar 06:16
Compare
Choose a tag to compare

Features

  • New option threadMode: set this to true enables fs-based options sharing. Only needed when using with HappyPack or thread-loader.
  • New option postcss.cascade: setting this to true 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

01 Feb 20:09
Compare
Choose a tag to compare
  • Adjust web component style injection strategy
  • Improve tree shaking

v14.0.0

31 Jan 04:49
Compare
Choose a tag to compare

Features

  • Support for @vue/cli web component mode

Breaking

  • No longer works with webpack 1.
  • esModules option has been removed. Built module is now always exposed as an ES module.
  • Inject mode has been removed since it does not work with ES modules.

v13.7.0

08 Jan 21:14
Compare
Choose a tag to compare
  • 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

08 Jan 21:11
Compare
Choose a tag to compare
  • 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

22 Dec 00:50
Compare
Choose a tag to compare

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

15 Dec 21:39
Compare
Choose a tag to compare

Features

v13.5.1

15 Dec 17:28
Compare
Choose a tag to compare

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

07 Nov 20:43
Compare
Choose a tag to compare

New

  • Allow explicitly disable hot reload via hotReload loader option (@gejgalis via #1036)

Fixed

  • Fix CSS scoping of multiple animations (@damell via #1030)

v13.4.0

03 Nov 18:58
Compare
Choose a tag to compare

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' })

Fixed

  • Fixed srcset transforms for absolute URLs (#1005)
  • Fix /deep/ CSS transform when used at the start of a selector (#1035)