We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b9e097 commit 7652197Copy full SHA for 7652197
lib/find-addons.ts
@@ -26,7 +26,13 @@ export default function findAddons(isLocal: boolean): PluginSummary[] {
26
sort: true,
27
configName: 'denali',
28
keyword: 'denali-addon',
29
- includeDev: true
+ includeDev: true,
30
+ resolvePackageFilter(pkg: { main?: string, mainDir?: string }) {
31
+ if (pkg.mainDir) {
32
+ pkg.main = pkg.main || 'index.js';
33
+ pkg.main = path.join(pkg.mainDir, pkg.main);
34
+ }
35
36
};
37
38
if (isLocal) {
0 commit comments