-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix https://github.com/vuejs/vue-loader/issues/1395 #30
Conversation
@yyx990803 @sodatea Would you like to review this PR or related issue? It really sucks and it only starts happening recently because |
Purpose of postcss plugin trim is to remove prepended new lines (used to keep line numbers same as in .vue file). It cannot minimize the css so putting <style>
.foo {
color: red;
}
</style> |
@znck Did you review the original issue? It makes impossible to minify css totally by postcss anymore. |
CSS minification should run after |
CSS minification of |
Using a postcss plugin to minimise is good approach. component-compiler-utils/lib/compileStyle.ts Lines 65 to 70 in c494c69
|
The
|
fix vuejs/vue-loader#1395