Skip to content

Commit b5f75f2

Browse files
authored
Merge pull request #16 from ajmath/offline-integration
Compile typescript before serverless-offline starts up
2 parents 0b19666 + bca5f87 commit b5f75f2

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)