import { EsbuildServerlessPlugin } from '.' ; export function preLocal ( this ) { this . serviceDirPath = this . buildDirPath ; this . serverless . config . servicePath = this . buildDirPath ; if ( this . functions [ this . options . function ] ) { process . chdir ( this . serviceDirPath ) ; } }