Last active
January 3, 2016 03:09
-
-
Save elentok/8400301 to your computer and use it in GitHub Desktop.
Express + Browserify + Coffeeify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
browserify = require('browserify-middleware') | |
coffeeify = require('coffeeify') | |
browserify.settings('extensions', ['.coffee']) | |
browserify.settings('transform', [coffeeify]) | |
browserify.settings('grep', /\.coffee$|\.js$/) | |
app.use '/assets', browserify('./../assets/js/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment