Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skeeks-cms/cms-assets-auto-compress

Component automatically compile js and css files (on request)
https://github.com/skeeks-cms/cms-assets-auto-compress

Last synced: 26 days ago
JSON representation

Component automatically compile js and css files (on request)

Awesome Lists containing this project

README

        

Component automatically compile js and css files (on request)
===================================

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist skeeks/cms-assets-auto-compress "*"
```

or add

```
"skeeks/cms-assets-auto-compress": "*"
```

Configuration app
----------

```php

'bootstrap' => ['assetsAutoCompress'],
'components' =>
[
'assetsAutoCompress' =>
[
'class' => '\skeeks\cms\assetsAuto\AssetsAutoCompressComponent',
],
'assetsAutoCompressSettings' =>
[
'class' => '\skeeks\cms\assetsAuto\SettingsAssetsAutoCompress',
],
'i18n' => [
'translations' =>
[
'skeeks/assets-auto' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/assetsAuto/messages',
'fileMap' => [
'skeeks/assets-auto' => 'main.php',
],
]
]
],
],

```

Links
--------
* [Web site](http://en.cms.skeeks.com)
* [Web site (rus)](http://cms.skeeks.com)
* [Author](http://skeeks.com)
* [ChangeLog](https://github.com/skeeks-cms/cms-assets-auto-compress/blob/master/CHANGELOG.md)
* [Page on SkeekS CMS Marketplace](http://marketplace.cms.skeeks.com/solutions/instrumentyi/razrabotchiku/75-komponent-optimizatsii-koda-js-i-css-d)

___

> [![skeeks!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)
SkeekS CMS (Yii2) — quickly, easily and effectively!
[skeeks.com](https://skeeks.com) | [cms.skeeks.com](https://cms.skeeks.com)