https://github.com/invrs/mezzo-browserify
Mezzo middleware to browserify your JS
https://github.com/invrs/mezzo-browserify
Last synced: 2 months ago
JSON representation
Mezzo middleware to browserify your JS
- Host: GitHub
- URL: https://github.com/invrs/mezzo-browserify
- Owner: invrs
- Created: 2015-09-21T08:37:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-21T08:37:28.000Z (almost 11 years ago)
- Last Synced: 2025-02-25T23:28:54.710Z (over 1 year ago)
- Language: CoffeeScript
- Size: 105 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MezzoBrowserify
Mezzo middleware to browserify your JS.
## Configure
Define `browserify.coffee`:
```coffee
# Require
#
browserify = require "mezzo-browserify"
# Configure
#
browserify(
infile: "./src/main.coffee"
outfile: "./dist/main.js"
extension: ".coffee"
transform: [ "coffeeify", "envify" ]
analyze: "./dist/analysis"
)
# Run
#
browserify()
```
## Run
```bash
coffee browserify.coffee
```
## Options
Options are named similarly to those found in `browserify --help advanced`.
This middleware provides additional options:
* `analyze` - uses [disc](https://github.com/hughsk/disc) to analyze your browserify file size