Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets are concatenated in local environment #199

Open
ktraff opened this issue Aug 2, 2014 · 2 comments
Open

Assets are concatenated in local environment #199

ktraff opened this issue Aug 2, 2014 · 2 comments

Comments

@ktraff
Copy link

ktraff commented Aug 2, 2014

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
Copy link

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
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants