|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pilif Smarty n00b
Joined: 17 Sep 2009 Posts: 3
|
Posted: Wed Feb 16, 2011 10:24 pm Post subject: Sacy, the smarty asset compiler updated to 0.2 |
|
|
I have just released version 0.2 of sacy, the Smarty Asset Compiler.
Sacy is a block plugin that you can wrap around as many <script src> and <link> tags as you want. Sacy will then resolve all linked files, mash them together into one and emit one <link> and one <script> tag linking to the pre-generated minified assets file.
So you don't need to manually compile, you still generate static files and all files get new URLs the moment a referenced file changes (so no more stale files in client caches)
version 0.2 mainly brings transparent support to transform less, sass and scss stylesheets into CSS before compiling them together.
Wouldn't you like to be able to write
<link rel="stylesheet" type="text/x-sass" href="/styles/main.sass" />
and not having to worry about anything else? That's what sacy can do for you. Just add {asset_compile} and that's it.
The release announcment is here on my blog:
http://www.gnegg.ch/2011/02/sacy-0-2-now-with-less-sass-and-scss/
Download it from github:
http://github.com/pilif/sacy |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|