Skip to content

Commit bca5f87

Browse files
committed
Compile typescript before serverless-offline starts up
1 parent 0b19666 commit bca5f87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ServerlessPlugin {
2424
this.options = options
2525

2626
this.hooks = {
27+
'before:offline:start:init': this.beforeCreateDeploymentArtifacts.bind(this),
2728
'before:deploy:createDeploymentArtifacts': this.beforeCreateDeploymentArtifacts.bind(this),
2829
'after:deploy:createDeploymentArtifacts': this.afterCreateDeploymentArtifacts.bind(this),
2930
'before:invoke:local:invoke': this.beforeCreateDeploymentArtifacts.bind(this),

0 commit comments

Comments
 (0)