You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by Desuuuu June 9, 2026
When using lazy barrel with version 4.7.7 of @smithy/node-http-handler (used by the AWS SDK packages), rolldown seems to be dropping an import from node:http2.
> node ./dist/index.js
file://dist/index.js:18823
({constants} = node_http2);
^
ReferenceError: node_http2 is not defined
I'm not sure if the issue comes from rolldown or from @smithy/node-http-handler since the issue only started appearing since their latest release (I would guess this change specifically).
Discussed in #9687
Originally posted by Desuuuu June 9, 2026
When using lazy barrel with version 4.7.7 of
@smithy/node-http-handler(used by the AWS SDK packages), rolldown seems to be dropping an import fromnode:http2.Here's a minimal reproduction: https://github.com/Desuuuu/rolldown-lazybarrel-issue
This fails with the following error:
I'm not sure if the issue comes from rolldown or from
@smithy/node-http-handlersince the issue only started appearing since their latest release (I would guess this change specifically).