@@ -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+
6884Note that, if the `output` configuration is not set, it will automatically be
6985generated to write bundles in the `.webpack` directory. If you set your own `output`
7086configuration 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
226242using `serverless-offline` (see [#135][link-135]) which already does the job
227243perfectly 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
230246To start a local server that will act like API Gateway, use the following command.
231247Your 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
0 commit comments