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
If aws-sdk is bundled using @rollup, this fails at runtime with an undefined variable type error
action: remove circular references
This is likely caused by the habit of using ciruclar references which has traditionally been a bad practice with @nodejs
action: Implementing ECMAScript native modules for tree shaking
Implementing ECMAScript native modules, ie. import and export statements in the source code, would allow tree shaking which is a benefit for a huge library like aws-sdk
action: transpilation
This would require transpilation for Node.js older than stable Nodejs v8.5+
-- or two separate branches
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
Sep 29, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If aws-sdk is bundled using @rollup, this fails at runtime with an undefined variable type error
action: remove circular references
This is likely caused by the habit of using ciruclar references which has traditionally been a bad practice with @nodejs
action: Implementing ECMAScript native modules for tree shaking
Implementing ECMAScript native modules, ie. import and export statements in the source code, would allow tree shaking which is a benefit for a huge library like aws-sdk
action: transpilation
This would require transpilation for Node.js older than stable Nodejs v8.5+
-- or two separate branches
symptom
get-around
Define aws-sdk as a RollupJS external reference. It works when node require loads it.
I am using aws-sdk with es2049package
https://github.com/haraldrudell/ECMAScript2049/tree/master/workspace/packages/es2049package
The text was updated successfully, but these errors were encountered: