Skip to content

Commit

Permalink
Use Object.assign()
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Jul 23, 2018
1 parent bac543f commit 4b7fbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build/bundle.js
Expand Up @@ -21,7 +21,7 @@ module.exports = function(cfg, options) {
options.minify = options.minify == null ? false : options.minify;

// tree shaking is disabled.
var config = { treeShaking: false, ...cfg };
var config = Object.assign({ treeShaking: false }, cfg);

try {
options = assignDefaultOptions(config, options);
Expand Down

0 comments on commit 4b7fbb0

Please sign in to comment.