Add index paths in tar processing.
This commit is contained in:
parent
a5653c7192
commit
3b40850195
|
@ -51,6 +51,10 @@ for (var key in tar) {
|
|||
tar[key].map(prefixLocalLibraryPath).map(function (p) {
|
||||
return p.replace(/\.js$/, '');
|
||||
})
|
||||
).concat(
|
||||
tar[key].map(prefixLocalLibraryPath).map(function (p) {
|
||||
return p.replace(/\.js$/, '') + '/index.js';
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue