You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried using this plugin in combination with serverless-plugin-ifelse. I tried ordering this plugin ahead of serverless-plugin-ifelse hoping that this plugin would run first. It looks like the ifelse plugin will always be called first, however, because it uses the "before:package:initialize" hook, while the for-each plugin uses the 'after:package:initialize' hook. When I changed the for-each hook to use before, I was able to get the ifelse and for-each plugin to run in the order I wanted.
Is there a good reason to leave the for-each hook at 'after:package:initialize' ? I can fork the project and change it for my own needs, but I'm thinking it might play nicer with other plugins if the hook is changed.
The text was updated successfully, but these errors were encountered:
Hello, I tried using this plugin in combination with serverless-plugin-ifelse. I tried ordering this plugin ahead of serverless-plugin-ifelse hoping that this plugin would run first. It looks like the ifelse plugin will always be called first, however, because it uses the
"before:package:initialize"
hook, while the for-each plugin uses the'after:package:initialize'
hook. When I changed the for-each hook to use before, I was able to get the ifelse and for-each plugin to run in the order I wanted.Is there a good reason to leave the for-each hook at
'after:package:initialize'
? I can fork the project and change it for my own needs, but I'm thinking it might play nicer with other plugins if the hook is changed.The text was updated successfully, but these errors were encountered: