Skip to content
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

[Request] Enable JS minification plugin only in CI builds, or enable sourcemaps #1279

Open
andrewazores opened this issue Jun 11, 2024 · 1 comment
Labels
ci feat New feature or request

Comments

@andrewazores
Copy link
Member

Describe the feature

It would be nice to have JS minified for CI builds, or for release builds, but have that optimization turned off for development snapshot builds. Non-minified JS is much easier to troubleshoot since symbol names match sources and therefore error stacks are possible to follow.

Anything other information?

No response

@andrewazores andrewazores added ci feat New feature or request labels Jun 11, 2024
@andrewazores andrewazores moved this to Backlog in 4.0.0 release Jun 11, 2024
@andrewazores
Copy link
Member Author

An alternate approach would be to configure sourcemaps properly during the build. This should mean that builds can be minified whether built as a local or CI snapshot or as a CI release, but there would be additional sourcemap assets available to help with debugging should any runtime errors occur.

@andrewazores andrewazores changed the title [Request] Enable JS minification plugin only in CI builds [Request] Enable JS minification plugin only in CI builds, or enable sourcemaps Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci feat New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant