Skip to content

Commit

Permalink
fix: check devDependencies for Stencil collections
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Aug 8, 2019
1 parent 269e9f6 commit 53ee6bd
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/ember-cli-stencil/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ module.exports = {
});
} else {
// ember-cli >= 3.4
let packages = this.parent._packageInfo.dependencyPackages;
parentDepsPackages = Object.keys(packages).map(key => {
let { realPath, pkg } = packages[key];
const dependencies = Object.assign(
{},
this.parent._packageInfo.dependencyPackages,
this.parent._packageInfo.devDependencyPackages
);
parentDepsPackages = Object.keys(dependencies).map(key => {
const { realPath, pkg } = dependencies[key];

return { root: realPath, pkg };
});
}
Expand Down

0 comments on commit 53ee6bd

Please sign in to comment.