For the 'script' in assets, it more for UI components, and its being compress as part of the compilation process.
'script' in package is more for seam components, but haven't put the compress process as part of the packaging.