serverless-esbuild
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -96,2 +96,3 @@ "use strict"; | ||
bundle: true, | ||
target: 'es2017', | ||
external: ['aws-sdk'], | ||
@@ -98,0 +99,0 @@ }); |
{ | ||
"name": "serverless-esbuild", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Victor Korzunin", |
@@ -9,3 +9,3 @@ # serverless-esbuild | ||
* Zero-config: Works out of the box without the need to install any other compiler or plugins | ||
* Supports ES2015 syntax + features (`export`, `import`, `async`, `await`, `Promise`, ...) | ||
* Supports ESNext syntax with transforming limitations (See *Note*) | ||
* Supports `sls package`, `sls deploy` and `sls deploy function` | ||
@@ -15,2 +15,4 @@ * Supports `sls invoke local` | ||
*Note*: The default JavaScript syntax target is set to [`ES2017`](https://node.green/#ES2017), so the final bundle will be supported by all [AWS Lambda Node.js runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). If you still using an old lambda runtime and have to respect it you can play with esbuild `target` option, see [JavaScript syntax support](https://github.com/evanw/esbuild#javascript-syntax-support) for more details about syntax transform limitations. | ||
## Install | ||
@@ -17,0 +19,0 @@ |
17250
209
114