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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i stack-assets-builder

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • pfraze