Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.

Commit 8ec6f93

Browse files
committed
directories.lib -> directories.dist
1 parent 4260bf3 commit 8ec6f93

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

github.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ GithubLocation.prototype = {
488488
}
489489
}
490490

491+
if (packageConfig.directories && packageConfig.directories.lib && !packageConfig.directories.dist) {
492+
packageConfig.directories.dist = packageConfig.directories.lib;
493+
this.ui.log('warn', 'Package `' + packageName + '` has a %directories.lib% override configuration which will work, but is deprecated for %directories.dist% in future jspm versions.\n');
494+
}
495+
491496
// on GitHub, single package names ('jquery') are from jspm registry
492497
// double package names ('components/jquery') are from github registry
493498
if (!packageConfig.registry || packageConfig.registry == 'github') {

0 commit comments

Comments
 (0)