aws-sdk-js-v3
aws-sdk-js-v3 copied to clipboard
Do not generate node artifacts for browser packages
Is your feature request related to a problem? Please describe.
Some browser packages generate artifacts.
For example, hash-blob-browser
is clearly meant to be used on the frontend but it generates node artifact:
https://github.com/aws/aws-sdk-js-v3/blob/683beb41dc2214bc61cae4d1899f76011ea56520/packages/hash-blob-browser/package.json#L4-L7
Describe the solution you'd like
Do not generate node artifacts for browser packages
Describe alternatives you've considered
Retaining the artifacts as they're not used.
Created a separate feature request for removing "module"
field at https://github.com/aws/aws-sdk-js-v3/issues/3526
Remove frontend artifacts from node-only packages can be followed up in that issue.