Noosphere Possibilities Maximized
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

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

Keywords

none

install

npm i stack-assets-builder

Downloadsweekly downloads

0

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability