Bug #65172
closedconfig.compressJs does not minify JS
0%
Description
config.minifyJS has been replaced by config.compressJs :
TSREF > Setup > config > minifyJS:
"Note: This property was deprecated and has been removed in TYPO3 6.0! Use config.compressJs instead."
Bug #36641 (minifyJS deprecated):
"As devlog sais: TypoScript config.minifyJS = 1 is deprecated - It will be removed in TYPO3 4.8. Use config.compressJs instead."
"TSREF > Setup > config > compressJs" only mentions GZIP compression and nothing about minifying and compressJS actually does not minify JavScript, unfortunately, but it should (like compressCss does for CSS), as minifyJS has been removed.
Updated by Jörg Wagner over 9 years ago
+1
Even if GZIP compression will do most of the job, minification still is desirable – not only to reduce size but mainly to remove unwanted comments from the code.
Updated by Riccardo De Contardi over 6 years ago
see also the extension: https://extensions.typo3.org/extension/min/
Updated by Benni Mack over 4 years ago
- Status changed from New to Closed
I also propose to use the existing proven solutions "min" or "sourceopt" as they provide a good solution for all issues related to that.