File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,25 +125,25 @@ async function nodePlop(plopfilePath = "", plopCfg = {}) {
125
125
const genNameList = proxy . getGeneratorList ( ) . map ( ( g ) => g . name ) ;
126
126
loadAsset (
127
127
genNameList ,
128
- include . generators ,
128
+ includeCfg === true || include . generators ,
129
129
setGenerator ,
130
130
( proxyName ) => ( { proxyName, proxy } )
131
131
) ;
132
132
loadAsset (
133
133
proxy . getPartialList ( ) ,
134
- include . partials ,
134
+ includeCfg === true || include . partials ,
135
135
setPartial ,
136
136
proxy . getPartial
137
137
) ;
138
138
loadAsset (
139
139
proxy . getHelperList ( ) ,
140
- include . helpers ,
140
+ includeCfg === true || include . helpers ,
141
141
setHelper ,
142
142
proxy . getHelper
143
143
) ;
144
144
loadAsset (
145
145
proxy . getActionTypeList ( ) ,
146
- include . actionTypes ,
146
+ includeCfg === true || include . actionTypes ,
147
147
setActionType ,
148
148
proxy . getActionType
149
149
) ;
You can’t perform that action at this time.
0 commit comments