Assets are concatenated in local environment
Opened this issue · 2 comments
ktraff commented
I've installed and configured the pipeline based on the instructions in the README, and I've checked that my environment is set to local
. However, the asset pipeline still concatenates all javascript and CSS files in my local environment.
petehouston commented
I've got this one, too.
If I set my environment to local
, well, everything is concatenated.
But if I set to development
, files are included individually. It is rather strange when the EnvironmentFilter
seems to be working.
petehouston commented
@ktraff :
First, you need to publish the config file
$ php artisan config:publish codesleeve/asset-pipeline
then edit the config file: app/config/packages/codesleeve/asset-pipeline/config.php, by edit the key concat into
'concat' => array('production')
then it should not concatenate in local environment.