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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNoNo. 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