How to use deepmerge

Comprehensive deepmerge code examples:

How to use deepmerge.all:

125
126
127
128
129
130
131
132
133
134
}

// merge common-pages setup
const { common: commonOption, pages } = yyconfig;
const pageOption = pages[ctx.build] || {};
const option = deepmerge.all([commonOption, pageOption, { entry: ctx.entry }]);
const buildFilePath = path.join(ctx.cwd, option.entry);
const buildFolder = path.dirname(buildFilePath);

if (!option.entry) {