fix paths
This commit is contained in:
parent
25868dc8f0
commit
f1834162dd
|
@ -89,13 +89,13 @@ var createBitcore = function(opts) {
|
|||
b.require('base58-native', {
|
||||
expose: 'base58-native'
|
||||
});
|
||||
b.require('./bitcore', {
|
||||
b.require('./'+ opts.dir +'bitcore', {
|
||||
expose: 'bitcore'
|
||||
});
|
||||
modules.forEach(function(m) {
|
||||
if (opts.includeall || opts.submodules.indexOf(m) > -1) {
|
||||
console.log('Including ' + m + ' in the browser bundle');
|
||||
b.require('./' + m + '.js', {
|
||||
b.require('./' + opts.dir + m + '.js', {
|
||||
expose: './' + m
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue