Skip to content

Commit e821ba6

Browse files
committed
fix: inherit config
Closes: plopjs#392
1 parent f0742f2 commit e821ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/node-plop/src/node-plop.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ async function nodePlop(plopfilePath = "", plopCfg = {}) {
100100
targets = [targets];
101101
}
102102
const config = Object.assign(
103+
plopCfg,
103104
{
104105
destBasePath: getDestBasePath(),
105106
},

0 commit comments

Comments
 (0)