Commit 4df0621
authored
ref(aws-serverless): Add resolution for
this is actually a fix but not a user-facing one, therefore, `ref`.
Starting with `1.14.3`, `import-in-the-middle` uses both, `import` and
`require` statements in its `hook.mjs` file. This caused `@vercel/nft`
in its default config to _not_ trace the required `hook.js` file (+ all
of its dependencies). This PR enables `mixedModules: true` to trace
both, requires and imports. In contrast to #17777, we therefore don't
have to override the IITM version and we also don't have to revert this
PR.import-in-the-middle when building the Lambda layer (#17780)1 parent ae747ad commit 4df0621
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments