Skip to content

Commit

Permalink
Fix userWebpackConfig issue (#157)
Browse files Browse the repository at this point in the history
Fix userWebpackConfig issue
  • Loading branch information
swyxio authored May 19, 2019
2 parents 36cb222 + ab1d8a8 commit 7379a70
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 7379a70

Please sign in to comment.