Skip to content

Commit 642b592

Browse files
committed
add hook to works with serverless-middleware
1 parent 71ea072 commit 642b592

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/base-path-plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class BasePathPlugin {
2222
'before:run:run': this.rewriteHandlersPath.bind(this),
2323
'before:offline:start': this.rewriteHandlersPath.bind(this),
2424
'before:offline:start:init': this.rewriteHandlersPath.bind(this),
25+
'before:package:initialize': this.rewriteHandlersPath.bind(this),
2526
'before:package:createDeploymentArtifacts': this.rewriteHandlersPath.bind(
2627
this
2728
),

0 commit comments

Comments
 (0)