import { copyFileSync } from 'fs' ; import { resolve } from 'path' ; const destinations = [ [ '../LICENSE' , '../packages/vscode/LICENSE' ] , [ '../README.md' , '../packages/unocss/README.md' ] , ] ; destinations . forEach ( ( [ src , dest ] ) => { copyFileSync ( resolve ( __dirname , src ) , resolve ( __dirname , dest ) ) ; } ) ;