I am using yii2 basic template. How can I minify the Asset Bundle of my page? I found some documentation regarding minification on http://www.yiiframework.com/doc-2.0/guide-structure-assets.html but was not able to do so.
Asked
Active
Viewed 7,034 times
1 Answers
10
You can do it either as described in official guide using Yii assets management or by using external asset manager such as Grunt or Gulp.
You can read about how to configure Grunt here: https://github.com/samdark/yii2-cookbook/blob/master/book/structure-asset-processing-with-grunt.md

Sam Dark
- 5,291
- 1
- 34
- 52