Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ language: node_js

matrix:
include:
- node_js: '4.8.7'
- node_js: '6.10.1'
- node_js: '8.11.3'

sudo: false

Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ WebPack's [Tree-Shaking][link-webpack-tree] optimization.
* Support NPM and Yarn for packaging
* Support asynchronous webpack configuration

## Recent improvements and important changes
## Recent improvements and important changes for 5.x

* Support Yarn
* Support Webpack 4
* Drop Webpack 2 support
* Cleaned up configuration. You should now use a `custom.webpack` object to configure everything relevant for the plugin. The old configuration still works but will be removed in the next major release. For details see below.
* Added support for asynchronous webpack configuration

Expand Down Expand Up @@ -719,7 +718,9 @@ me to take it over and continue working on the project. That helped to revive it
## Release Notes

* 5.2.0
* Added support for asynchronous webpack configuration
* Show info message in verbose mode if aws-sdk has been excluded automatically [#393][link-393]
* Added support for asynchronous webpack configuration [#412][link-412]
* Better error message if handlers are not found [#418][link-418]

* 5.1.5
* Re-publish of 5.1.4 without yarn.lock
Expand Down Expand Up @@ -965,3 +966,7 @@ me to take it over and continue working on the project. That helped to revive it
[link-379]: https://github.com/serverless-heaven/serverless-webpack/issues/379
[link-382]: https://github.com/serverless-heaven/serverless-webpack/pull/382
[link-384]: https://github.com/serverless-heaven/serverless-webpack/pull/384

[link-393]: https://github.com/serverless-heaven/serverless-webpack/issues/393
[link-412]: https://github.com/serverless-heaven/serverless-webpack/issues/412
[link-418]: https://github.com/serverless-heaven/serverless-webpack/issues/418
2 changes: 1 addition & 1 deletion lib/packagers/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('packagers factory', () => {
let module;

before(() => {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
npmMock = {
hello: 'I am NPM'
};
Expand Down
2 changes: 1 addition & 1 deletion lib/packagers/npm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('npm', () => {
let npmModule;

before(() => {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
sandbox.usingPromise(BbPromise.Promise);

sandbox.stub(Utils, 'spawnProcess');
Expand Down
2 changes: 1 addition & 1 deletion lib/packagers/yarn.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('yarn', () => {
let yarnModule;

before(() => {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
sandbox.usingPromise(BbPromise.Promise);

sandbox.stub(Utils, 'spawnProcess');
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Utils', () => {
let sandbox;

before(() => {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
});

after(() => {
Expand Down
Loading