File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ The following `esbuild` options are automatically set.
101101| `incremental` | N/A | Cannot be overridden. Use `disableIncremental` to disable it |
102102| `outDir` | N/A | Cannot be overridden |
103103| `platform` | `'node'` | Set `format` to `esm` to enable ESM support |
104- | `target` | `'node12 '` | We dynamically set this. See [Supported Runtimes](#supported-runtimes) |
104+ | `target` | `'node16 '` | We dynamically set this. See [Supported Runtimes](#supported-runtimes) |
105105| `watch` | N/A | Cannot be overridden |
106106
107107# ### Packager Options
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ class EsbuildServerlessPlugin implements ServerlessPlugin {
266266 concurrency : Infinity ,
267267 zipConcurrency : Infinity ,
268268 bundle : true ,
269- target : 'node12 ' ,
269+ target : 'node16 ' ,
270270 external : [ ] ,
271271 exclude : [ 'aws-sdk' ] ,
272272 nativeZip : false ,
You can’t perform that action at this time.
0 commit comments