Answer the question
In order to leave comments, you need to log in
How to properly compress resources in Yii2?
Actually I'm trying to organize resource compression in yii2 using this link , but such an error occurs.
Loading configuration from 'assets.php'...
Collecting source bundles information...
Creating output bundle 'all':
Compressing JavaScript files...
/var/www/tiger.lc/frontend/public_html/assets/js/all- temp.js.tmp:12386: ERROR - Parse error. Semi-colon expected
Answer the question
In order to leave comments, you need to log in
Judging by the error, you are missing a semicolon in some file. So here the question is not about the compression method, but about the quality of the compressed code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question