Hi,
I'm trying to get a minifed and combined version of my Javascript files with:
$this->assets
->collection('footer')
->setTargetPath('final.js')
->addJs('/assets/jquery/dist/jquery.min.js', true, false)
->addJs('/assets/bootstrap/js/bootstrap.min.js', true, false)
->addJs('/common/js/luna.js', true)
->addJs('/user/js/custom.js', true)
->addJs('/assets/datatables/jquery.dataTables.min.js', true)
->addJs('/assets/datatables/dataTables.bootstrap.js', true)
->join(true)
->addFilter(new Jsmin());
I get this exception:
Exception: Resource '/assets/jquery/dist/jquery.min.js' does not have a valid source path
What should I change?
Thanks!