Skip to content

Commit 570bd4a

Browse files
author
Frank Schmid
committed
Prepared release
1 parent f27d1c2 commit 570bd4a

File tree

3 files changed

+33
-4
lines changed

3 files changed

+33
-4
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,22 @@ module.exports = {
6565
};
6666
```
6767

68+
Custom entries that are not part of the SLS build process can be added too:
69+
70+
```js
71+
// webpack.config.js
72+
const _ = require('lodash');
73+
const slsw = require('serverless-webpack');
74+
75+
module.exports = {
76+
...
77+
entry: _.assign({
78+
myCustomEntry1: './custom/path/something.js'
79+
}, slsw.lib.entries),
80+
...
81+
};
82+
```
83+
6884
Note that, if the `output` configuration is not set, it will automatically be
6985
generated to write bundles in the `.webpack` directory. If you set your own `output`
7086
configuration make sure to add a [`libraryTarget`][link-webpack-libtarget]
@@ -222,10 +238,10 @@ Options are:
222238

223239
### Simulate API Gateway locally
224240

225-
_There are plans to remove the integrated simulation functionality in favor of
241+
_The integrated simulation functionality will be removed in version 3 in favor of
226242
using `serverless-offline` (see [#135][link-135]) which already does the job
227243
perfectly and fully integrates with `serverless-webpack`.
228-
Please consider switching to `serverless-offline` if you do not use it already._
244+
Please switch to `serverless-offline` if you do not use it already._
229245

230246
To start a local server that will act like API Gateway, use the following command.
231247
Your code will be reloaded upon change so that every request to your local server
@@ -273,6 +289,13 @@ Plugin commands are supported by the following providers. ⁇ indicates that com
273289

274290
## Release Notes
275291

292+
* 2.1.0
293+
* Added support for webpack configuration in TypeScript format [#129][link-129]
294+
* Fixed bug with serverless-offline exec [#154][link-154]
295+
* Added unit tests for cleanup. Updated test framework [#11][link-11]
296+
* Support single function deploy and packaging [#107][link-107]
297+
* Fixed path exception bug with individual packaging and SLS 1.18 [#159][link-159]
298+
276299
* 2.0.0
277300
* Support arbitrary Webpack versions as peer dependency [#83][link-83]
278301
* Support `serverless offline start` invocation [#131][link-131]
@@ -312,3 +335,9 @@ Plugin commands are supported by the following providers. ⁇ indicates that com
312335
[link-140]: https://github.com/elastic-coders/serverless-webpack/pull/140
313336
[link-141]: https://github.com/elastic-coders/serverless-webpack/issues/141
314337
[link-144]: https://github.com/elastic-coders/serverless-webpack/issues/144
338+
339+
[link-11]: https://github.com/elastic-coders/serverless-webpack/issues/11
340+
[link-107]: https://github.com/elastic-coders/serverless-webpack/issues/107
341+
[link-129]: https://github.com/elastic-coders/serverless-webpack/pull/129
342+
[link-154]: https://github.com/elastic-coders/serverless-webpack/issues/154
343+
[link-159]: https://github.com/elastic-coders/serverless-webpack/issues/159

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "serverless-webpack",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description": "Serverless plugin to bundle your javascript with Webpack",
55
"main": "index.js",
66
"author": "Nicola Peduzzi <[email protected]> (http://elastic-coders.com)",

0 commit comments

Comments
 (0)