Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 931 Bytes

README.md

File metadata and controls

42 lines (23 loc) · 931 Bytes

Browserify Demo

http://browserify.org/

Get this Repo Set Up

You need node and npm.

npm install

Running some of these commands might require ./node_modules/.bin to be in your $PATH.

Describe the Modules and Their Dependencies

npm ll

Compiling Manually

browserify -e app/js/index.js -o app/app.js

Sourcemaps

browserify -e app/js/index.js -o app/app.js -d

Compressing

browserify -e app/js/index.js | uglifyjs > app/app.js

External Modules

Watching with eye

eye browserify -e app/js/index.js -o app/app.js -d

Watching with express

npm start