serverless-esbuild
serverless-esbuild copied to clipboard
💨 A Serverless framework plugin to bundle JavaScript and TypeScript with extremely fast esbuild
After looking for `lifecycleEvents` in the source code, I didn't find any hookable events I could use to customize the `serverless-esbuild` plugin behavior. However it is common best practice to...
This improves build times for larger projects. Sadly it does not improve the memory usage as anticipated.
[This change from 5 days ago](https://github.com/floydspace/serverless-esbuild/commit/9d81dce7105af5ebb69d0dc42a383d0bcd8e1aa3) has broken our builds because with **npm workspaces** we only have a `project-lock.json` at the root. Perhaps this path needs to be variable based...
Adds an additional configuration option `packExternals` which will disable installing & bundling modules listed as external. This is useful for if you want to exclude externals from esbuild but you...
I'm trying to figure out a way to retain the build file structure. I don't want everything bundled into one file. If I set `bundle` to false it simply doesn't...
This means it's possible for code to retrieve the correct mtime, for example to return in a `Last-Modified` header. That's what I want to use this for: I'm bundling static...
- update esbuild Attempts a solution for https://github.com/floydspace/serverless-esbuild/issues/536
esbuild 0.21 is out, need to update the peerDependency.
Fixes #533 This pull request adds an esbuildEntrypoint field in the functions definitions to override the entrypoint used by ESBuild to build the function. As discussed in the issue, I'm...
Closes #503.