mirror of
https://github.com/serverless/serverless.git
synced 2025-12-08 19:46:03 +00:00
10 lines
216 B
JavaScript
10 lines
216 B
JavaScript
'use strict';
|
|
|
|
const _ = require('lodash');
|
|
|
|
module.exports = (stacks, service, stage) => (
|
|
_.flatten(stacks).map((entry) => (
|
|
{ Key: `serverless/${service}/${stage}/${entry.directory}/${entry.file}` })
|
|
)
|
|
);
|