Skip to content

Commit

Permalink
fix: plugins inferred
Browse files Browse the repository at this point in the history
  • Loading branch information
imcuttle committed Apr 3, 2018
1 parent a721207 commit ebcc524
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edam/src/core/normalizeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default async function normalizeConfig(
yes: false,
silent: false,
extends: [],
// plugins: [],
alias: {},
cacheDir: true,
updateNotify: true
Expand Down Expand Up @@ -82,6 +81,7 @@ export default async function normalizeConfig(
if (!mergedConfig.plugins) {
mergedConfig.plugins = []
}

// normalize source
_.each(mergedConfig.alias, (val, key) => {
mergedConfig.alias[key] = normalizeSource(mergedConfig.alias[key], options)
Expand Down
3 changes: 3 additions & 0 deletions packages/edam/src/lib/getExtendsMerge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default function getExtendsMerge(
if (Array.isArray(extendsVal)) {
return extendsVal
}
// if (Array.isArray(sourceVal)) {
// return sourceVal
// }
})
}
}

0 comments on commit ebcc524

Please sign in to comment.