![]() |
![]() |
![]() |
Cockpit Guide | ![]() |
---|
If minified resources are provided, they should be provided along with the non-minified file. This allows developers to debug package code when necessary.
Minified files should contain a .min
suffix before their usual file
extension. They will automatically be used in place of the unminified file, when your
the package is installed. This applies for HTML, JS, CSS or other types of resources.
For example if you have a javascript file called test.js
its minified
version should be placed in a file called test.min.js
in the same directory.
To force Cockpit to use non-minified resources, link the package into your home directory as described in the section on Package Layout.