JSPM

gulp-ccr-browserify

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q33681F
  • License MIT

Bundle JavaScript things with Browserify. A cascading configurable gulp recipe for gulp-chef.

Package Exports

  • gulp-ccr-browserify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-ccr-browserify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-ccr-browserify

Bundle JavaScript things with Browserify. A cascading configurable gulp recipe for gulp-chef.

Install

$ npm install --save-dev gulp-chef gulp-ccr-browserify

Recipe

browserify

Ingredients

API

config.options

Options for all bundles.

config.watch

Update any source file and your browserify bundle will be recompiled on the spot.

config.bundles

Bundle or array of bundles.

bundle.entries

String, or array of strings. Specifying entry file(s).

bundle.file

The name of file to write to disk.

bundle.options

Options for this bundle. See documentation for options.

Usage

var gulp = require('gulp');
var chef = require('gulp-chef');

var meals = chef({
    src: 'src/',
    dest: 'dist/',
    browserify: {
        bundles: [{
            entries: [
                'services.ts'
            ]
        }, {
            entries: [
                'main.ts'
            ]
        }],
        options: {
            transforms: ['tsify']
        }
    }
});

gulp.registry(meals);

References