title: AWS Lambda function do not work after deploy
body: <p>When I deploy my server less function locally it works fine.but it docent when deploy it to aws lambda.I have included web pack also.Nothing wrong in offline run</p>
  
  <pre><code>Syntax error in module 'handler': SyntaxError
  (function (exports, require, module, __filename, __dirname) { import mongoose from 'mongoose';
                                                                ^^^^^^
  </code></pre>