-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Prevent vue inspect
from outputting "omitted long function"
#1157
Comments
Except the reason to improve read ability for the majority of use cases... The suggestion itself is not bad though |
Except the reason to improve read ability for the majority of use cases... The suggestion itself is not bad though. We could accept a PR for this I think. |
The readability is barely improved, considering its already suggested to
output the result to a file.
…On Fri, Apr 20, 2018, 18:25 Thorsten Lünborg ***@***.***> wrote:
for no reason at all.
Except the reason to improve read ability for the majority of use cases...
The suggestion itself is not bad though
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1157 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFzALGFg_6mYKsEtUihHtq9_PYc6E3Vmks5tqf3PgaJpZM4TdNFv>
.
|
Well, if you're fine with scrolling over hundreds of lines of code (in console or a file) from some function just to find some loader config, good for you. It would get on my nerves pretty quickly. As I said, a --verbose flag is a nice idea, but the default should (in my opinion) the way it is. |
Why not make the hard-coded 100 a config item? 0 for the equivalent of --verbose, 100 default. That would allow control of the allowable output function size, filtering out the really long functions, but still outputting the not-so-long ones. |
What problem does this feature solve?
I've come to an issue where I need to modify the default vue CLI webpack configuration and while trying to output it I found out that key parts (mainly transformers) are omitted for no reason at all. This can be clearly seen on lines 30-32 of
@vue/cli-service/lib/commands/inspect.js
as the following is defined:What does the proposed API look like?
An additional modifier (for example
-v
for--verbose
) would do.The text was updated successfully, but these errors were encountered: