-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Minification & debugging #2263
Comments
For context, what is the question / problem / suggested change here? |
I'm proposing to not skip |
@elektronik2k5 Are you willing to work on PR? At least some draft because it seems nobody understands what you want to achieve :) Or you might want to try to incorporate that change into upcoming V6 #2327. Closing this issue for now. |
@elektronik2k5 would you mind revisiting this when V6 branch is in more stable? We'll switch to a more standardized setup through TSDX, but we can fine tune things if needed. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions. |
Originally posted by @elektronik2k5 in #2262 (comment)
digging a bit further into the code, I see it isn't that simple. I understand that and am not challenging it any further right now - and definitely not as part of this PR.
However, I still want to address some of your assertions and perhaps we can improve it in the future:
You're right: function names are usually mangled. Practically always in browsers and often in node packages which go through a build/compilation step.
However, that is not always the case:
import()
hitting stage 4, HTTP >= 2 and Brotli we have things like https://www.snowpack.dev/, where we're able to go back to working like once: via<script>
tags and without bundling. It is a valid approach and a breath of fresh air in light of our currently tooling-heavy workflows.Only if we let it be inconsistent.
In my view, debugging isn't a nice to have, but a first class feature of any tool/package I consider using.
The text was updated successfully, but these errors were encountered: