Deploy compiled 'dist' folder to AWS

Is there a way to deploy precompiled (by babel) nodeJS API ‘dist’ folder only to AWS Lambda using serverless YAML config?