We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c702a57 commit 111a410Copy full SHA for 111a410
src/index.ts
@@ -202,6 +202,18 @@ export class TypeScriptPlugin {
202
serverlessFolder,
203
path.basename(this.serverless.service.package.artifact)
204
)
205
+
206
+ this.serverless.service.getAllFunctions().forEach(name => {
207
+ if (this.serverless.service.functions[name].package.artifact) {
208
+ this.serverless.service.functions[name].package.artifact = path.join(
209
+ this.originalServicePath,
210
+ serverlessFolder,
211
+ path.basename(
212
+ this.serverless.service.functions[name].package.artifact
213
+ )
214
215
+ }
216
+ })
217
}
218
219
async cleanup(): Promise<void> {
0 commit comments