Skip to content

Commit

Permalink
Include aws sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
vrtnd committed Sep 1, 2024
1 parent 40e0910 commit afa1fd8
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,26 +202,17 @@ custom:
bundle: true
minify: true
sourcemap: true
exclude:
- "aws-sdk"
- "@aws-sdk/*"
external:
- "aws-sdk"
- "@aws-sdk/*"
target: "node18"
define: { "require.resolve": undefined }
platform: "node"
format: "cjs"
concurrency: 10
packager: "npm"
keepOutputDirectory: true
packagerOptions:
scripts:
- rm -rf node_modules/aws-sdk
metafile: true
watch:
pattern: ["src/**/*.ts"]
ignore: [".serverless/**/*", ".webpack/**/*", "node_modules/**/*"]
ignore: [".serverless/**/*", ".esbuild/**/*", "node_modules/**/*"]

plugins:
- serverless-esbuild
Expand Down

0 comments on commit afa1fd8

Please sign in to comment.