Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

gulp-jbb

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jbb

Gulp plug-in for creating javascript binary bundles

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

gulp-jbb

Compile javascript bundles to binary bundles using the jbb compiler

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev gulp-jbb

Usage

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

gulp.task('bundles', function() {
    return gulp
        .src([ 'mybundle.jbbsrc' ])
        .pipe(jbb({
            'profile': 'three'
        }))
        .pipe(gulp.dest('build'));
});

Options

  • profile

    The JBB Profile to use, for example three for jbb-profile-three.

  • sparse (optional)

    Set to true to create a sparse JBB bundle (creates 4 files, loaded in parallel by the browser).

  • path (optional)

    The base directory relative to which jbb compiler will search for other bundles (ex. dependencies).

  • log (optional)

    A bit mask with the compiler log messages to enable. This is used for debugging the binary protocol and should remain 0x00

  • name (optional)

    Override the name of the bundle. This value is automatically populated based on the filename.

Keywords

jbb

FAQs

Package last updated on 05 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts