Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

support for cssproc

Choose a tag to compare

@caridy caridy released this 25 Jul 01:49
· 185 commits to master since this release

Adding support for cssproc option, e.g.:

locator.plug(app.yui.plugin({
        registerGroup: true,
        registerServerModules: true,
        cssproc: true
}));

By adding the cssproc flag, assets in yui css modules will be compiled and will be available thru a combo url, in which case the path to the assets has to be absolute.

All this is possible because express-yui uses shifter, which uses cssproc to pre-process those css modules to correct any url for any asset within the css rules.