Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Sacy, the smarty asset compiler updated to 0.2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
pilif
Smarty n00b


Joined: 17 Sep 2009
Posts: 3

PostPosted: Wed Feb 16, 2011 10:24 pm    Post subject: Sacy, the smarty asset compiler updated to 0.2 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP