Skip to content

Commit 8517bbc

Browse files
authored
Merge pull request #244 from kcjpop/update-hooks
Hook to package:createDeploymentArtifacts
2 parents c2a368b + 4db4173 commit 8517bbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ class ServerlessWebpack {
8181
};
8282

8383
this.hooks = {
84-
'before:deploy:createDeploymentArtifacts': () => BbPromise.bind(this)
84+
'before:package:createDeploymentArtifacts': () => BbPromise.bind(this)
8585
.then(this.validate)
8686
.then(this.compile)
8787
.then(this.packExternalModules)
8888
.then(this.packageModules),
8989

90-
'after:deploy:createDeploymentArtifacts': () => BbPromise.bind(this)
90+
'after:package:createDeploymentArtifacts': () => BbPromise.bind(this)
9191
.then(this.cleanup),
9292

9393
'before:deploy:function:packageFunction': () => BbPromise.bind(this)

0 commit comments

Comments
 (0)