From 6e12180babb9d8021d96d7532e8771641ee62dbe Mon Sep 17 00:00:00 2001 From: Mike Hogarth Date: Sun, 19 May 2019 16:14:16 +0100 Subject: [PATCH 1/2] Fix --- lib/build.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/build.js b/lib/build.js index 45ddf608..f49e5d91 100644 --- a/lib/build.js +++ b/lib/build.js @@ -31,7 +31,7 @@ function haveBabelrc(functionsDir) { ); } -function webpackConfig(dir, {userWebpackConfig, useBabelrc}) { +function webpackConfig(dir, {userWebpackConfig, useBabelrc} = {}) { var config = conf.load(); var envConfig = conf.loadContext(config).environment; var babelOpts = { cacheDirectory: true }; diff --git a/package.json b/package.json index f9097279..80cd9db9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "netlify-lambda", - "version": "1.4.10", + "version": "1.4.11", "description": "Build and serve lambda function with webpack compilation", "homepage": "https://github.com/netlify/netlify-lambda#readme", "main": "bin/cmd.js", From ab1d8a86e5a7cedcbbcf3b673167f70d7c597704 Mon Sep 17 00:00:00 2001 From: swyx Date: Sun, 19 May 2019 15:30:47 -0400 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80cd9db9..f9097279 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "netlify-lambda", - "version": "1.4.11", + "version": "1.4.10", "description": "Build and serve lambda function with webpack compilation", "homepage": "https://github.com/netlify/netlify-lambda#readme", "main": "bin/cmd.js",