symfio-contrib-assets

Compile and serve assets from public directory.

npm install symfio-contrib-assets
65 downloads in the last month

symfio-contrib-assets

Compile and serve assets from public directory.

Build Status Dependency Status

Usage

symfio = require "symfio"

container = symfio "example", __dirname

container.inject require "symfio-contrib-express"
container.inject require "symfio-contrib-assets"

Dependencies

Configuration

publicDirectory

Directory with assets. Default value is public.

Services

serve

Assets serving helper. First argument is path to directory with assets.

servePublicDirectory

Function used to serve public directory.

npm loves you