Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyhogarth committed May 19, 2019
1 parent 36cb222 commit 6e12180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 6e12180

Please sign in to comment.