Skip to content

Commit f64cfab

Browse files
committed
Fix: prevent global option from changing when merging
1 parent cd13bf1 commit f64cfab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prepare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = function (assetsOrigin) {
2626

2727
var pkg = pkgs[pkgName];
2828
pkg.name = pkgName;
29-
var option = util.merge(optionGlobal, util.extend({
29+
var option = util.merge(clone(optionGlobal), util.extend({
3030
mode: ['copy', -1],
3131
hash: [0, -1],
3232
export: [true, -1]

0 commit comments

Comments
 (0)