publishOptions['beforeCopy'] = function ($from, $to) { return preg_match('%(/|\\\\)(fonts|css)%', $from); }; } }