You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the standard php artisan basset:build application --production --force the output isn't minified.
[code]'collections' => array(
'application' => function($collection)
{
// Switch to the stylesheets directory and require the "less" and "sass" directories.
// These directories both have a filter applied to them so that the built
// collection will contain valid CSS.
$directory = $collection->directory('assets/stylesheets', function($collection)
{
$collection->requireDirectory('less')->apply('Less');
$collection->requireDirectory('sass')->apply('Sass');
$collection->requireDirectory();
});
$directory->apply('CssMin'); /// HERE IT'S APPLIED
$directory->apply('UriRewriteFilter');
// Switch to the javascripts directory and require the "coffeescript" directory. As
// with the above directories we'll apply the CoffeeScript filter to the directory
// so the built collection contains valid JS.
$directory = $collection->directory('assets/javascripts', function($collection)
{
$collection->requireDirectory('coffeescripts')->apply('CoffeeScript');
$collection->requireDirectory();
});
$directory->apply('JsMin'); /// HERE IT'S APPLIED
},
),
[/code]
The text was updated successfully, but these errors were encountered:
With the standard
php artisan basset:build application --production --force
the output isn't minified.[code]'collections' => array(
[/code]
The text was updated successfully, but these errors were encountered: