chore(benchpress): add browserify bundling

Use browserify to bundle benchpress and its dependencies.
This commit is contained in:
uber5001
2015-06-23 15:26:51 -07:00
committed by Tobias Bosch
parent f1cf5298d8
commit c4e10ea9ac
11 changed files with 1413 additions and 14 deletions

View File

@ -1,2 +1,6 @@
require(require('traceur').RUNTIME_PATH);
require('reflect-metadata');
require('traceur/bin/traceur-runtime');
module.exports = require('./benchpress.js');
// when bundling benchpress to one file, this is used
// for getting exports out of browserify's scope.
global.__benchpressExports = module.exports;