add maraoz version of browserify-buffertools to copay

This commit is contained in:
Matias Alejo Garcia 2014-05-13 13:43:05 -03:00
parent 1b545ea444
commit 691235bec7
1 changed files with 6 additions and 3 deletions

View File

@ -25,8 +25,6 @@ var pack = function (params) {
};
var createBundle = function(opts) {
opts.dir = opts.dir || 'js/';
// concat browser vendor files
@ -39,10 +37,15 @@ var createBundle = function(opts) {
insertGlobals: true
};
var b = browserify(bopts);
b.require('bitcore/node_modules/browserify-buffertools/buffertools.js', {
expose: 'buffertools'
});
b.require('./copay', {
expose: 'copay'
});
b.external('bitcore');
// b.external('bitcore');
b.require('./js/models/core/WalletFactory');
b.require('./js/models/core/Wallet');
b.require('./js/models/core/Wallet', {