Noisy Pneumatic Mnemonic
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

assetmgmt

0.0.12 • Public • Published

assetmgmt

This library that concatonates files and makes them read for production while you are developing. First you make a yaml file at config/assets.yml and put some info like this into it.

javascripts:
  application:
    - app/assets/javascripts/jquery.js
    - app/assets/javascripts/json2.js
    - app/assets/javascripts/underscore.js
    - app/assets/javascripts/knockout.js
    - app/assets/javascripts/base.js

stylesheets:
  application:
    - app/assets/stylesheets/normalize.css
    - app/assets/stylesheets/base.css
    - app/assets/stylesheets/bootstrap.css
    - app/assets/stylesheets/bootstrap-theme.css

As you develop it will concatonate and minify your changes as you make them. There will be helpers for each of the groups of files in the res.locals. For example, if you need the tag for the application javascript group, it is at res.locals.js.application.

License

MIT

install

npm i assetmgmt

Downloadsweekly downloads

15

version

0.0.12

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar