Skip to content

Releases: vuejs/vue-loader

v12.1.0

24 May 09:33
Compare
Choose a tag to compare
  • Support for SSR optimizations in upcoming Vue 2.4

v12.0.4

24 May 09:32
Compare
Choose a tag to compare

v12.0.3

24 May 09:32
Compare
Choose a tag to compare

v12.0.2

27 Apr 05:33
Compare
Choose a tag to compare
  • Revert incorrect keyframes related change

v12.0.1

27 Apr 05:33
Compare
Choose a tag to compare

v12.0.0

26 Apr 10:59
Compare
Choose a tag to compare

Breaking

  • Upgrading vue-style-loader to 3.0 introduces a small breaking change: the CSS contained in a *.vue component will now be lazy-injected, when the component is rendered for the first time. (Previously the style is injected as soon as the component is imported.)

New

  • Compatibility for the new features in vue-server-renderer@^2.3.0.

  • extractCSS option: simple configuration for CSS extraction. docs

  • The loader now automatically infers sass-loader?indentedSyntax when using <style lang="sass"> , and infers sass-loader when using <style lang="scss">.

Fixed

  • #757 bring back webpack context for postcss.config.js

v11.0.0

13 Feb 21:50
Compare
Choose a tag to compare

New

  • Now supports auto-loading the same PostCSS config files. The formats supported are exactly the same with postcss-loader. This means you can use the same PostCSS config file for both vue-loader and postcss-loader.

This is the recommended way to configure PostCSS inside vue-loader from now on.

Breaking Changes

  • This is a major release because of the PostCSS config file support - if you already have PostCSS config file in a project using vue-loader < 11.0.0, you will need to unify the two and remove the inline postcss option passed to vue-loader.

Fixed

v10.3.0

03 Feb 18:38
Compare
Choose a tag to compare

v10.2.0

03 Feb 18:36
Compare
Choose a tag to compare
  • Now uses vue-style-loader 2.x, which supports server-side rendering out of the box.

v10.1.0

28 Jan 13:54
Compare
Choose a tag to compare

Now supports chaining with other loaders so the entire *.vue file can be pre-processed by other loaders:

{ test: /\.vue$/, loader: 'vue-loader!my-other-loader' }