Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Component/s: Release
-
Labels:None
-
Environment:Operating System: All
Platform: All
-
Assignee Priority:P1
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration
Description
We now have compressed javascript files, which is a good thing for performance reason. However, it makes it more difficult for debugging and profiling. We have to manually modify the build files avoid minifying the JavaScript files. This takes time and can be error-prone.
A better approach would be to automatically server human-readable / debug versions of all JavaScript files when running in JSF 2 "Development" project-stage. The other project-stages would continue to use minified resource files as they do now.
A better approach would be to automatically server human-readable / debug versions of all JavaScript files when running in JSF 2 "Development" project-stage. The other project-stages would continue to use minified resource files as they do now.
Issue Links
- is duplicated by
-
ICE-1495 Adjusting JavaScript compression
-
- Closed
-
The problem was that after the uncompressed JS files were built the temporary files were removed before the compressed files would be build off these same files.
Fixed 'compat' build to avoid removing the coalesced JS code before the the compressed JS resources are built.