We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Html minifcation does not work. I tried following.
Event::listen('asset.pipeline.boot', function($pipeline) {
$config = $pipeline->getConfig(); $config['paths'][] = 'app/assets/views'; $config['mimes']['views'][] = '.tpl'; $config['filters']['.tpl'] = array( new Codesleeve\AssetPipeline\Filters\MinifyHtml, //new Codesleeve\AssetPipeline\Filters\EnvironmentFilter(new Codesleeve\AssetPipeline\Filters\MinifyHtml, App::environment()), ); //dd($config); $pipeline->setConfig($config);
});
I uploaded tpl in app/assets/views/test.tpl looks like minifyHtml runs __construct() only. not filterDump
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Html minifcation does not work. I tried following.
Event::listen('asset.pipeline.boot', function($pipeline) {
});
I uploaded tpl in app/assets/views/test.tpl looks like minifyHtml runs __construct() only. not filterDump
The text was updated successfully, but these errors were encountered: