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
Modified 'core' and 'compat' builds to generate both compressed and uncompressed versions of the JS files. Modified also BridgeSetup and ExtrasSetup to insert the resources corresponding to the uncompressed files while running in Development mode.