v12.0.0
Breaking
- Upgrading
vue-style-loaderto 3.0 introduces a small breaking change: the CSS contained in a*.vuecomponent 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. -
extractCSSoption: simple configuration for CSS extraction. docs -
The loader now automatically infers
sass-loader?indentedSyntaxwhen using<style lang="sass">, and inferssass-loaderwhen using<style lang="scss">.
Fixed
- #757 bring back webpack context for
postcss.config.js