Skip to content

Commit b87f028

Browse files
jgilbert01HyperBrain
authored andcommitted
fix serverless-offline exec (#155)
* fixed serverless-offline exec * reverted location condition change
1 parent c7d9cd5 commit b87f028

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,12 @@ class ServerlessWebpack {
131131

132132
'before:offline:start': () => BbPromise.bind(this)
133133
.then(this.validate)
134+
.then(this.compile)
134135
.then(this.wpwatch),
135136

136137
'before:offline:start:init': () => BbPromise.bind(this)
137138
.then(this.validate)
139+
.then(this.compile)
138140
.then(this.wpwatch),
139141

140142
};

0 commit comments

Comments
 (0)