21 Commits

Author SHA1 Message Date
Francisco Guimarães a7045b23d1 - Upgrading node runtime
- Using slsw.lib.entries with in typescript example
2017-08-02 20:58:17 -03:00
Frank Schmid 89ab12e632 Use correct path in examples when using handlers nested in subdirs 2017-07-28 18:36:37 +02:00
Frank Schmid 7ef2daa7e4 Fixed issue with example 2017-07-28 17:54:45 +02:00
Gady e7531dcebd Do not add .js extension to entries values (#167)
* 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
2017-07-28 11:40:08 +02:00
Francisco Guimarães 22a460d8b1 Integration with deploy package function (#130)
* 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.
2017-07-26 22:42:15 +02:00
Dillon Bailey 376fde9f12 Serverless-offline and Serverless-webpack example (#148)
* start of serverless offline example

* Update readme.md with mention of example for serverless-offline in examples folder
2017-07-10 20:22:52 +02:00
Nicola Peduzzi f8d93b361b Add default status code for lambra integration http event 2017-01-09 16:21:43 +00:00
Nicola Peduzzi ebd07c7dbe Update required plugin version in examples 2016-12-23 18:32:06 +01:00
Nicola Peduzzi e07ab1dcfa Fix babel-polyfill related issue in babel example 2016-10-06 23:41:27 +02:00
Nicola Peduzzi 25f443caa5 Merge branch 'master' of https://github.com/cyyuen/serverless-webpack into cyyuen-master 2016-09-20 10:37:52 +02:00
Nicola Peduzzi b63f3c8bf8 Add babel polyfill and fix compilation errors for babel example 2016-09-20 10:21:26 +02:00
Nicola Peduzzi 3eb33880ec Remove serverlss.env.yml for rc1 compliance 2016-09-12 11:26:19 +02:00
Nicola Peduzzi be5116cbec Add basic webpack.config.js example in readme 2016-09-10 21:41:49 +02:00
Tony Yuen b4fa0a53fb support external-module-auto-packaging 2016-09-07 11:55:02 +08:00
Tony Yuen 6176dc4c62 rename serverless custom key, includePackages to webpackIncludeModules to avoid conflict with other plugin 2016-08-26 23:57:59 +08:00
Tony Yuen cf4fee44d8 added examples and readme for packing external packages feature 2016-08-26 17:59:25 +08:00
Nicola Peduzzi 5b793e385a Merge pull request #7 from elastic-coders/multiple-entrypoint-support
Multiple webpack entrypoint support
2016-08-19 12:33:48 +02:00
Nicola Peduzzi ebd9fe241e Add http event to examples 2016-08-18 18:04:57 +02:00
Nicola Peduzzi 30acab9b56 Adjust typescript config file to add full output directory 2016-08-18 18:03:33 +02:00
Nicola Peduzzi 6c9a78552f Add multiple-entries example 2016-08-18 18:01:36 +02:00
Nicola Peduzzi 1df8259fa9 Add typescript example 2016-08-18 16:19:28 +02:00