We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6edb59d commit 5c8f6f0Copy full SHA for 5c8f6f0
README.md
@@ -36,7 +36,7 @@ custom:
36
Based on the configuration above the plugin will search for a file `scripts/output.js` with the following content:
37
38
```js
39
-function handler (data) {
+function handler (data, serverless) {
40
console.log('Received Stack Output', data)
41
}
42
src/plugin.ts
@@ -48,7 +48,7 @@ class StackOutputPlugin {
48
const func = splits.pop() || ''
49
50
return new Promise((resolve) => {
51
- require(splits.join('.'))[func](data)
+ require(splits.join('.'))[func](data, this.serverless)
52
53
resolve()
54
})
0 commit comments