You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,9 @@ serverless-bundle is a [Serverless Framework](https://www.serverless.com) plugin
8
8
- Linting Lambda functions using [ESLint](https://eslint.org)
9
9
- Supports transpiling unit tests with [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest)
10
10
- Source map support for proper error messages
11
+
- Support [esbuild](https://esbuild.github.io) and [esbuild-loader](https://github.com/privatenumber/esbuild-loader) for faster builds
11
12
12
-
And all this works without having to install Webpack, Babel, ESLint, etc. or manage any of their configs. Simply add serverless-bundle to your app and you are done!
13
+
And all this works without having to install Webpack, Babel, ESLint, esbuild, etc. or manage any of their configs. Simply add serverless-bundle to your app and you are done!
13
14
14
15
```diff
15
16
- "eslint"
@@ -22,6 +23,7 @@ And all this works without having to install Webpack, Babel, ESLint, etc. or man
22
23
- "babel-eslint"
23
24
- "babel-loader"
24
25
- "eslint-loader"
26
+
- "esbuild-loader"
25
27
- "@babel/runtime"
26
28
- "@babel/preset-env"
27
29
- "serverless-webpack"
@@ -96,8 +98,10 @@ custom:
96
98
bundle:
97
99
sourcemaps: true # Enable source maps
98
100
caching: true # Enable Webpack caching
101
+
concurrency: 5 # Set desired concurrency, defaults to the number of available cores
99
102
stats: false # Don't print out any Webpack output
100
103
linting: true # Enable linting as a part of the build process
104
+
esbuild: false # Use esbuild-loader instead of babel or ts for faster builds
101
105
disableForkTsChecker: false # Disable the ForkTsChecker plugin, more below
102
106
tsConfig: "tsconfig.json" # Path to your 'tsconfig.json', if it's not in the root
103
107
forceInclude: # Optional list of NPM packages that need to be included
0 commit comments