Skip to content

Commit

Permalink
fix(integ-runner): fails with "no such file or directory, open 'node_…
Browse files Browse the repository at this point in the history
…modules/@aws-cdk/integ-runner/lib/workers/db.json.gz'" (#27983)

Mark the `@aws-cdk/aws-service-spec` as external, because it cannot be bundled.

Changes an import from `cdk-assets` to be more specific, so we don't bundle the whole of `aws-sdk` anymore.
This reduced the worker entrypoint size from 70MB -> 1.5MB

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
mrgrain committed Nov 14, 2023
1 parent d6f6dd7 commit 56daf0b
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 2,012 deletions.
Loading

0 comments on commit 56daf0b

Please sign in to comment.