Skip to content

Commit dc01534

Browse files
Fry98jmcdo29
andauthored
docs(serverless): grammar
Co-authored-by: Jay McDoniel <[email protected]>
1 parent 29e84a4 commit dc01534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/faq/serverless.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ $ npx serverless offline
263263
Once the application is running, open your browser and navigate to `http://localhost:3000/dev/[ANY_ROUTE]` (where `[ANY_ROUTE]` is any endpoint registered in your application).
264264

265265
In the sections above, we've shown that using `webpack` and bundling your app can have significant impact on the overall bootstrap time.
266-
However, to make it work with our example, there are few additional configurations you must add in your `webpack.config.js` file. Generally,
266+
However, to make it work with our example, there are a few additional configurations you must add in your `webpack.config.js` file. Generally,
267267
to make sure our `handler` function will be picked up, we must change the `output.libraryTarget` property to `commonjs2`. It's also recommended to install the `terser-webpack-plugin` package and override its configuration to keep classnames intact when minifying your production build. Not doing so can result in incorrect behavior when using `class-validator` within your application.
268268

269269
```javascript

0 commit comments

Comments
 (0)