static assets in npm

Language: JavaScript



Warning: codebase going through major changes.


Package static assets in npm. Support client and server.

API for component authors

  • process.env.STATIC_ROOT: this is where your static files will live at runtime
  • staticRoot in package.json: this is where you put your static files. they'll be available at the root above

API for users

  • run collect-static mymodule builddir/ and upload builddir/ to
  • run your app with STATIC_ROOT= (trailing slash required)
    • if using browserify, use the envify transform

Project Statistics

Sourcerank 7
Repository Size 548 KB
Stars 5
Forks 0
Watchers 9
Open issues 0
Dependencies 0
Contributors 2
Tags 0
Last updated
Last pushed

Top Contributors See all

Pete Hunt Cheng Lou

Packages Referencing this Repo

static assets in npm
Latest release 0.1.0 - Updated - 5 stars

Something wrong with this page? Make a suggestion

Last synced: 2016-05-27 15:58:16 UTC

Login to resync this repository