tivac/aws-sig

ESM build version still has test output

tivac opened this issue · 1 comments

tivac commented

When using rollup to bundle aws-sig and the rollup-plugin-node-resolve plugin the following code isn't removed from the deployed version:

aws-sig/src/index.js

Lines 88 to 95 in 5197cb8

/* START.TESTSONLY */
// Add partial output to response for tests
source.test = {
canonical,
sts,
auth,
};
/* END.TESTSONLY */

It's visible on unpkg.com in the bundled output for the .esm.js version.

tivac commented

Fixed by 77a5155, fix released as aws-sig@1.2.2