Closed thislooksfun closed 3 years ago
I don't believe this would work, this package relies on AWS-SDK which is not ESM. I believe @brianleroux has been working on a Deno / ESM version though.
Hey thx for the PR but unfortunately AWS Lambda's version of Node 14 is still VERY buggy for esmodules so we are not recommending at this time. Given the semantics have changed so much and so often we're waiting for it to be stable before committing. In the meantime you can use Deno or transpiler if you need esmodules. Thanks again for submitting!
When trying to use
@begin/data
with ES6import from
syntax it would fail with the errorFailed to resolve entry for package "@begin/data". The package may have incorrect main/module/exports specified in its package.json
. This fixes that issue.