-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Minify Inline CSS #4311
Comments
@bjunc A reproduction link is always encouraged (if the bug is reproducible in any manner). With CodeSandbox (template link) this is a matter of minutes for the reporter and makes debugging for the maintainers easier, which results in faster bug fixes. Reporting bugs should be easy and quick, no doubts, but reproducing them should be as well! In this bug case, it takes time to create the reproduction because several things are unclear:
|
About the actual issue: CSS is almost minified properly. vuejs/vue-loader#1395 |
Thanks for the quick response. I understand the desire to minimize triage / diagnose; which is why I said encouraged. I stand by the statement though, that making reproduction examples / repos mandatory is onerous. In this case, I'm not really sure how it could be reproduced without actually building and deploying somewhere. Does CodeSandbox allow this? If not, what exactly would you have liked me to do? Build and deploy to Heroku? Is that still a matter of minutes? Per the actual issue, thanks for the links. I'll keep an eye on the pull requests. |
If there is really no way to reproduce the issue easily then it's fine from my POV to input a random URL. In your case, a CSB (even in dev mode, because you can't change the default command there, Feature Request is already submitted) would be fine though, so downloading the example and running it on the local PC is easy for maintainers. Screenshots from the problem or a portion of the non-minified code would be fine as well. I see your point and I agree that there are exceptions in terms of providing a reproduction URL, but I see more bugs without an URL where the reporter could've easily created a reproduction than the ones where reproduction is too hard/tedious/... |
I understand. You guys get bombarded with "bugs" that are really just help requests / user error. Insisting on a reproduction URL probably weeds out a lot of those. In this case, I felt it necessary enough to enter a random URL, but I could see how that could be abused (annoying). Again, thanks for the quick reply. |
@bjunc You are welcome! Thanks for the report and for addressing the reproduction URL topic Feedback is always appreciated 👍 |
Thanks for your contribution to Nuxt.js!
Issues that are labeled as |
Solved (see vuejs/component-compiler-utils#40). Updating deps should work out. |
@manniL which deps? Currently running Nuxt v2.3.4, which was released in November (before your comment above). |
@bjunc |
I can confirm, this is resolved. |
This bug-report has been fixed by @manniL. |
Version
v2.1.0
Reproduction link
https://nuxtjs.org
Steps to reproduce
If you add CSS via Nuxt config, that CSS is minified and inlined into the page head. Component CSS/SCSS is inlined after the Nuxt config global CSS, but not minified.
What is expected ?
All inline CSS should be minified (both global via Nuxt config, and component CSS).
What is actually happening?
Only global (Nuxt config) CSS is being minified.
Additional comments?
I really don't think a reproduction link should be required. It should be strongly encouraged, but it's often unnecessarily onerous.
Reporting bugs should be easy and quick.
The text was updated successfully, but these errors were encountered: