Skip to content

Commit

Permalink
fix: inherit config
Browse files Browse the repository at this point in the history
Closes: plopjs#392
  • Loading branch information
moltar committed Sep 4, 2023
1 parent f0742f2 commit e821ba6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/node-plop/src/node-plop.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async function nodePlop(plopfilePath = "", plopCfg = {}) {
targets = [targets];
}
const config = Object.assign(
plopCfg,
{
destBasePath: getDestBasePath(),
},
Expand Down

0 comments on commit e821ba6

Please sign in to comment.