Livescript support for asset-rack
LiveScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
dynamic-assets.ls
index.js
livescript-asset.ls
package.json

README.md

asset-rack-livescript

Livescript support for asset-rack

Usage

Just use the LiveScriptAsset like a regular asset-rack asset:

LiveScriptAsset = require \asset-rack-livescript

assets = new rack.Rack([
  new LiveScriptAsset(
     url: '/js/controllers.js',
     filename: __dirname + '/client/app/ls/controllers.ls'
  ),
  new LiveScriptAsset(
     url: '/js/app.js',
     filename: __dirname + '/client/app/ls/app.ls'
  )
])

app.use(assets)