Sha256: 950fd259ab44d13cb7d104b8212cddd13a66f10b9565b8e3ae2f66ce6e6db45e

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

var browserify = require('../..'),
    path = require('path'),
    fs = require('fs'),
    bundlePath = path.join(__dirname, 'js', 'build', 'bundle.js');

browserify()
    .require(require.resolve('./js/main.js'), { entry: true })
    .bundle({ debug: true })
    .on('error', function (err) { console.error(err); })
    .pipe(fs.createWriteStream(bundlePath));

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sprockets-browserify-0.3.0 node_modules/browserify/example/source_maps/build.js
sprockets-browserify-0.2.0 node_modules/browserify/example/source_maps/build.js
ruby-wisp-source-0.8.0 vendor/node_modules/browserify/example/source_maps/build.js
ruby-wisp-source-0.7.0 vendor/node_modules/browserify/example/source_maps/build.js