Skip to content

Commit

Permalink
Merge pull request #1113 from brillout/master
Browse files Browse the repository at this point in the history
allow options to be undefined
  • Loading branch information
guybedford committed Sep 17, 2015
2 parents 47cac1d + babcf87 commit 00faf00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ exports.depCache = function(expression) {
exports.bundle = function(moduleExpression, fileName, opts) {

var systemBuilder = new Builder();

opts = opts || {};

return config.load()
.then(function() {
Expand Down Expand Up @@ -139,6 +141,8 @@ function logBuild(outFile, opts) {
// options.minify, options.sourceMaps
exports.bundleSFX = function(expression, fileName, opts) {
var systemBuilder = new Builder();

opts = opts || {};

return config.load()
.then(function() {
Expand Down

0 comments on commit 00faf00

Please sign in to comment.