-
Notifications
You must be signed in to change notification settings - Fork 4k
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
cdk: do not minify JS in NPM distribution #26779
Comments
|
You can view the code in our open source library in this same repository, why would looking at the js files be better? |
When I run a cdk command, and it errors out with a stack trace, I can click the file path in the terminal and open the exact location where the error occurred. Provided that there are numerous versions and package managers organizing the files (e.g. pnpm uses deeply tested paths), it's not easy to find the source file. |
For example, here's a stack trace I am dealing with right now: Stack Trace
|
Describe the feature
I'd like to see un-minified JS files in the NPM distribution.
Use Case
It's impossible to debug any traces because the entire JS file is in one line.
Proposed Solution
Do not minify the JS distribution. I don't think saving spaces and new lines lead to that much savings, considering the tar balls are gzip'ed.
Other Information
This is what the contents of one file look like:
Acknowledgements
CDK version used
2.91.0
Environment details (OS name and version, etc.)
macOS
The text was updated successfully, but these errors were encountered: