require
module in the browservar browserify = require('browserify')
browserify()
.require(src.main, { expose: module.shortcut })
.bundle()
global
module in the browservar browserify = require('browserify')
browserify(src.vanilla, { standalone: module.shortcut })
.bundle()
var browserify = require('browserify')
var coffeeify = require('coffeeify')
browserify extensions: ['.coffee', '.js']
.transform coffeeify, global: true
.require(src.main, { expose: module.shortcut })
.ignore('coffee-script')
.bundle()
Written by Kiko Beats
Kiko Beats
Web is the Platform. Programmer, Computer Science & Software Engineer.