Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module exports = class SomePlugin extends ServerlessPlugin{
//Contructor should be defined in ServerlessPlugin so you don't have to recreate it here
constructor(pluginConfig, serverlessConfig, serverlessUtils) {
this.pluginConfig = pluginConfig;
this.serverlessConfig = serverlessConfig;
this.serverlessUtils = serverlessUtils;
}
beforeDeployResources(params) {
// do something
}
deployFunctions(params) {
// do something with it
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.