* Do not add .js extension to entries values
* Find entries extension from filename
* Better filesearch performance
* Add warning for multiple files found
* Do not match directories
* Added unit tests. Throw error if handler is not found.
* Fixed examples
* Use preference sorting to find the most probable handler for multiple hits
* Deploy package function
* Listen pipe and reject pipe errors
* using once instead of on
* Fix babel example
* - Adding babel-multiple-statically-entries example
- Renaming multiple-entries-example to multiple-statically-entries
* Exposing entries to lib
* Adding babel-dynamically-entries examples
* - Updating examples dependencies
- Adding yarn to examples
- Fix typescript example
* Adding tests
* Removed yarn lock file. yarn should use package-lock.json
* Allow handlers in arbitrary paths. Use lodash and SLS functions.
* Adapted unit tests
* Mention new entry resolution in README
* Bundle names now contain the js ending. Fixed output in examples.
* Cleanup compile unit tests. Update test framework.
* Updated test tools. Added unit test for cleanup. Refactored unit tests.
* Added lodash to dependencies
* Updated package-lock.json
If lambda proxy is enabled (which is by default in Serverless),
the response returned in the lambda callback must be of the form:
```json
{
statusCode: 200,
body: { /** data **/ }
}
```
The current server sends the entire response without separating
the statusCode and body which is what this commit does.
Ideally, we should detect if the lambda is using lambda proxy or not
but I cannot find the flag to detect this setting.