config/index.js
function modifyOutRule(rule, type) {
	rule.test = new RegExp(
		'\\.(' + Config.out[type].extensions.join('|') + ')$'
	);
}
function modifyOutRule(rule, type) {
	rule.test = new RegExp(
		'\\.(' + Config.out[type].extensions.join('|') + ')$'
	);
}
function modifyOutRule ( rule , type ) { rule . test = new RegExp ( '\\.(' + Config . out [ type ] . extensions . join ( '|' ) + ')$' ) ; }
Modify the rule of output directory.

@param  {Object} rule The rule.
@param  {string} type The output directory type.
Modify the rule of output directory .