import { copy , Task } from '../lib' ; export const ReplaceFavicon = { description : 'Replacing favicons with built version' , async run ( config , log , build ) { await copy ( config . resolveFromRepo ( 'src/core/server/core_app/assets/favicons/favicon.distribution.png' ) , build . resolvePath ( 'src/core/server/core_app/assets/favicons/favicon.png' ) ) ; await copy ( config . resolveFromRepo ( 'src/core/server/core_app/assets/favicons/favicon.distribution.svg' ) , build . resolvePath ( 'src/core/server/core_app/assets/favicons/favicon.svg' ) ) ; } , } ;