0.0.3 • Published 9 years ago

kraken-devtools-browserify v0.0.3

Weekly downloads
98
License
-
Repository
github
Last release
9 years ago

kraken-devtools-browserify

Browserify plugin for kraken-devtools

Usage

Add:

"browserify": {
    "module": "kraken-devtools-browserify",
    "files": "/js/**/*.js"
}

to your kraken development configuration (config/development.json) under middleware.devtools.modulename=kraken-devtools.arguments.

Should look like this:

option transform

Type: [String] or [[String, Object]]

Specifies a pipeline of modules through which the browserified bundle will be run. The transform is a string referring to a NPM module. The browserify docs themselves explain transform well, but below is an example of transform used with kraken-devtools-browserify to automatically compile coffeescript files for use in a bundle:

"browserify": {
    "module": "kraken-devtools-browserify",
    "files": "/js/**/*.js",
    "transform": ["coffeeify"]
}

Transforms can also be provided with an options hash; in this case, the transform should be specified as an array of [transformStringOrFn, optionsHash].

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

10 years ago