Skip to content

Commit 7379a70

Browse files
authored
Fix userWebpackConfig issue (#157)
Fix userWebpackConfig issue
2 parents 36cb222 + ab1d8a8 commit 7379a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 };

0 commit comments

Comments
 (0)