From 6e12180babb9d8021d96d7532e8771641ee62dbe Mon Sep 17 00:00:00 2001 From: Mike Hogarth Date: Sun, 19 May 2019 16:14:16 +0100 Subject: [PATCH] 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",