0.0.1experimentalAssets
Asset compiler
Clone URLhttps://github.com/iwyg/symphony_assetcompiler.git
Add as a submodulegit submodule add https://github.com/iwyg/symphony_assetcompiler.git extensions/symphony_assetcompiler --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Configurationless js and css compiler for Symphony CMS
Installation
From your Symphony source directory, clone the repository to
git submodule add https://github.com/iwyg/symphony_assetscompiler.git extensions/assets --recursive
Install and enanble the extensions in System > Extensions
Usage
Set a data-compile="true"
attribute on script and link elements that should be concatenated an minified, e.g:
html
<script src="{$workspace}/scripts/vendor.js" data-compile="true"/>
<script src="{$workspace}/scripts/main.js" data-compile="true"/>
Output:
html
<script src="path/to/workspace/dist/application-35c474e5fda53358dea0255b3f74b843.js"/>
Version history
Symphony 2.3.3 to 2.3.x
- first release