Do not publish commonjs packages for modules which should be used in the browser #1571
Labels
closed-for-staleness
feature-request
New feature or enhancement. May require GitHub community feedback.
Is your feature request related to a problem? Please describe.
The packages which should only be used in browsers are publishing commonjs modules. For example:
aws-sdk-js-v3/packages/body-checksum-browser/tsconfig.cjs.json
Line 10 in d345606
aws-sdk-js-v3/packages/eventstream-serde-browser/tsconfig.cjs.json
Line 10 in d345606
aws-sdk-js-v3/packages/hash-blob-browser/tsconfig.cjs.json
Line 10 in d345606
Describe the solution you'd like
Do not publish commonjs packages for modules which should be used in the browser.
Describe alternatives you've considered
Stick with the commonjs packages published for browsers. Users might mistakenly try to use them in Node.js in future.
Additional context
This issue was noticed while moving to ES2018 in #1562
The text was updated successfully, but these errors were encountered: