stack-assets-builder

1.0.3 • Public • Published

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/*

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i stack-assets-builder

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • pfraze