Published on September 8th, 2019
Make sure that you npm/yarn initialized your repository and then install these packages.
yarn add -D serverless-bundle
And another thing you have to do is add these two lines to
plugins: - serverless-bundle
Now you can use stuff like
export default and
import x from 'x' in your function handlers.