Browse Source

fix paths

patch-2
Manuel Araoz 11 years ago
parent
commit
f1834162dd
  1. 4
      browser/build.js

4
browser/build.js

@ -89,13 +89,13 @@ var createBitcore = function(opts) {
b.require('base58-native', { b.require('base58-native', {
expose: 'base58-native' expose: 'base58-native'
}); });
b.require('./bitcore', { b.require('./'+ opts.dir +'bitcore', {
expose: 'bitcore' expose: 'bitcore'
}); });
modules.forEach(function(m) { modules.forEach(function(m) {
if (opts.includeall || opts.submodules.indexOf(m) > -1) { if (opts.includeall || opts.submodules.indexOf(m) > -1) {
console.log('Including ' + m + ' in the browser bundle'); console.log('Including ' + m + ' in the browser bundle');
b.require('./' + m + '.js', { b.require('./' + opts.dir + m + '.js', {
expose: './' + m expose: './' + m
}); });
} }

Loading…
Cancel
Save