connect-assets-jsprimer

An NPM module for forcing javascript file assets to be compiled without being referenced in views.


Project maintained by jgable Hosted on GitHub Pages — Theme by mattgraham

connect-assets-jsprimer

An NPM module that forces compilation of your javascript connect-assets without referencing them in a view.

Problems This Helps With

Installation

npm install connect-assets-jsprimer

Usage

assets = require 'connect-assets'
jsPrimer = require 'connect-assets-jsprimer'

# Snip ...

app.use assets()
jsPrimer assets

# Optionally, you can pass in a log function to see progress
# jsPrimer assets, console.log

Copyright

Created by Jacob Gable. MIT License; no attribution required.