Skip to content

Commit 6e12180

Browse files
committed
Fix
1 parent 36cb222 commit 6e12180

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function haveBabelrc(functionsDir) {
3131
);
3232
}
3333

34-
function webpackConfig(dir, {userWebpackConfig, useBabelrc}) {
34+
function webpackConfig(dir, {userWebpackConfig, useBabelrc} = {}) {
3535
var config = conf.load();
3636
var envConfig = conf.loadContext(config).environment;
3737
var babelOpts = { cacheDirectory: true };

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "netlify-lambda",
3-
"version": "1.4.10",
3+
"version": "1.4.11",
44
"description": "Build and serve lambda function with webpack compilation",
55
"homepage": "https://github.com/netlify/netlify-lambda#readme",
66
"main": "bin/cmd.js",

0 commit comments

Comments
 (0)