Skip to content

Commit 470a744

Browse files
author
Frank Schmid
committed
Change filename in README example
1 parent ce7ae24 commit 470a744

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,15 @@ module.exports = {
139139
output: {
140140
libraryTarget: 'commonjs',
141141
path: path.resolve(__dirname, '.webpack'),
142-
filename: 'handler.js', // this should match the first part of function handler in `serverless.yml`
142+
filename: '[name].js',
143143
},
144144
// ...
145145
};
146146
```
147147

148148
### Stats
149149

150-
By default, the plugin will print a quite verbose bundle information to your console. However, if
150+
By default, the plugin will print a quite verbose bundle information to your console. However, if
151151
you are not satisfy with the current output info, you can overwrite it in your `webpack.config.js`
152152

153153
```js

0 commit comments

Comments
 (0)