Releases: vuejs/vue-loader
Releases · vuejs/vue-loader
v12.1.0
v12.0.4
v12.0.3
v12.0.2
v12.0.1
v12.0.0
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 inferssass-loader
when using<style lang="scss">
.
Fixed
- #757 bring back webpack context for
postcss.config.js
v11.0.0
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
andpostcss-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 inlinepostcss
option passed tovue-loader
.
Fixed
- Should now work properly with HappyPack.
v10.3.0
- New options: preLoaders and postLoaders.