lib/browserify.js
function browserifyIt ({ config, entry, env, instrument }) {
  return browserify(entry, {
    basedir: process.cwd(),
    cache: {},
    debug: true,
    fullPaths: env === 'development',
    packageCache: {},
    paths: [
      path.join(__dirname, '/../node_modules'),
      path.join(process.cwd(), '/node_modules')
    ],
    transform: transform({ config, env, instrument })
  })
}
function browserifyIt ({ config, entry, env, instrument }) {
  return browserify(entry, {
    basedir: process.cwd(),
    cache: {},
    debug: true,
    fullPaths: env === 'development',
    packageCache: {},
    paths: [
      path.join(__dirname, '/../node_modules'),
      path.join(process.cwd(), '/node_modules')
    ],
    transform: transform({ config, env, instrument })
  })
}
function browserifyIt ( { config , entry , env , instrument } ) { return browserify ( entry , { basedir : process . cwd ( ) , cache : { } , debug : true , fullPaths : env === 'development' , packageCache : { } , paths : [ path . join ( __dirname , '/../node_modules' ) , path . join ( process . cwd ( ) , '/node_modules' ) ] , transform : transform ( { config , env , instrument } ) } ) }
Bundle some js together with browserify
Bundle some js together with browserify