Skip to content

v12.0.0

Compare
Choose a tag to compare
@yyx990803 yyx990803 released this 26 Apr 10:59
· 254 commits to main since this release

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