1.0.3 • Published 9 years ago

stack-assets-builder v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Stack Assets Builder

built for stack but can be used on its own

var stack = require('stack')
require('http').createServer(stack(
  require('stack-assets-builder')({ enabled: true, root: __dirname }),
  require('stack-assets-static')({ root: __dirname })
))

options

  • enabled: boolean, should the builder be active? this can be changed on the passed-in object to toggle it
  • root: string, the path to look for the assets in

js files will be looked for under root+'/src/*' and hosted at /js/* less files will be looked for under root+'/less/*' and hosted at /css/*

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago