From 2726bd36b063bebc2782609c1c45423eb600ff87 Mon Sep 17 00:00:00 2001 From: Yasha Prikhodko Date: Sun, 24 Sep 2017 15:55:32 -0400 Subject: [PATCH] Change deploy:compileEvents to package:compileEvents (#8) --- src/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin.js b/src/plugin.js index 9c820df..732a450 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -85,7 +85,7 @@ class Plugin { constructor (serverless, options) { this.serverless = serverless this.hooks = { - 'deploy:compileEvents': this.beforeDeployResources.bind(this) + 'package:compileEvents': this.beforeDeployResources.bind(this) } }