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

not minifying files js and css #48

Open
faworityf opened this issue May 17, 2019 · 4 comments
Open

not minifying files js and css #48

faworityf opened this issue May 17, 2019 · 4 comments

Comments

@faworityf
Copy link

installed package in my project and added service provider and Facade in config/app.php after that i ran command php artisan vendor:publish and published - Provider: Devfactory\Minify\MinifyServiceProvider in public css i added folder 'builds' with rights 775 in my blade i added {!! Minify::stylesheet(['/front/assets/css/base.css']) !!} but its not minifying files

php 7.1.3 laravel 5.6

@nickdekruijk
Copy link

Because you are in local environment and using default config?

@faworityf
Copy link
Author

no im doing it on test server and i didnt touch tconfig(

@nickdekruijk
Copy link

nickdekruijk commented May 17, 2019

But your test server .env file probably has APP_ENV=local and default config says:

    'ignore_environments' => array(
	    'local',
    ),

@faworityf
Copy link
Author

yep you right thank you very much!!!!!! )

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