Skip to content

Commit

Permalink
Merge 1d1de0a into ffc70bc
Browse files Browse the repository at this point in the history
  • Loading branch information
myarete committed Feb 13, 2019
2 parents ffc70bc + 1d1de0a commit 44cdc33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -98,7 +98,7 @@ A basic Webpack promise configuration might look like this:
const webpack = require('webpack')
const slsw = require('serverless-webpack');

module.exports = async () => {
module.exports = (async () => {
const accountId = await slsw.lib.serverless.providers.aws.getAccountId();
return {
entry: './handler.js',
Expand All @@ -112,7 +112,7 @@ module.exports = async () => {
loaders: [ ... ]
}
};
}();
})();
```
```js
// Version with promises
Expand Down

0 comments on commit 44cdc33

Please sign in to comment.