We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d428c7 commit abcf76cCopy full SHA for abcf76c
lambda-layer/packages/layer/install-externals.sh
@@ -3,6 +3,9 @@
3
set -euf -o pipefail
4
5
# Space separated list of external NPM packages
6
+
7
+# import-in-the-middle's hook.mjs is used as a module loader for ESM-based handlers and must be available at runtime,
8
+# so we have to install it a standalone package separate from the bundled layer.
9
EXTERNAL_PACKAGES=( "import-in-the-middle" )
10
11
for EXTERNAL_PACKAGE in "${EXTERNAL_PACKAGES[@]}"
0 commit comments