Files @ 6d864e8ce56b
Branch filter:

Location: symposion_app/gulp/tasks/browserify.js

Sachi King
Cleanout conf-specific proposals.

We don't have these mini-confs (yet).
We don't want these files.
We're not going to rename the release in 0010 and drop all the extra
tables in 0011, we're going to toss them on the cutting room floor and
call it good.

They're in git, we can look at this commit and past ones on how to
recreate these for new proposal additions going forward.
/**
 * Dependencies
 */
const path = require('path');
const browserify = require('browserify');
const babelify   = require('babelify');
const source     = require('vinyl-source-stream');

/**
 * Module body / Expose
 */
module.exports = (entry, config) => {
  config = config || {};
  const built = browserify(entry)
    .transform(babelify);
  return built.bundle().pipe(source(path.basename(entry)));
};