Closed sumitkalia closed 7 years ago
Yes, it's possible with all methods: css(), js(), add_css() and add_js(). We have second parameter for this.
$this->minify->add_js(['pace.min.js', 'animsition.min.js']);
$this->minify->add_js(['scrollreveal.min.js', 'footer.js'], 'extra');
echo $this->minify->deploy_js();
Thanks Michalsn. It worked. I forgot to see the updates in thread.
In total, i have 4 js files and i would like to make 2 different groups of 2 js each with compression. The current deploy_js adds the rest of two in previous compressed two.
Any thought?