DevFactoryCH / minify

A PHP package for minifying your .css and .js.
MIT License
83 stars 32 forks source link

not minifying files js and css #48

Open faworityf opened 5 years ago

faworityf commented 5 years ago

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 commented 5 years ago

Because you are in local environment and using default config?

faworityf commented 5 years ago

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

nickdekruijk commented 5 years ago

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

    'ignore_environments' => array(
        'local',
    ),
faworityf commented 5 years ago

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