Skip to content

Commit

Permalink
fix: custom esbuild.config.js loader (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchoz49 committed Sep 26, 2023
1 parent f2ae68a commit 0c7ce8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ class EsbuildServerlessPlugin implements ServerlessPlugin {
}

private getBuildOptions() {
if (this.buildOptions) return this.buildOptions;

const DEFAULT_BUILD_OPTIONS: Partial<Configuration> = {
concurrency: Infinity,
zipConcurrency: Infinity,
Expand Down

0 comments on commit 0c7ce8f

Please sign in to comment.