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
@ije When I run parseCjsExports on "react" it returns exportDefault: false, when I would expect exportDefault: true. If we don't export "default" from React, when we run esbuild on the following code:
@ije When I run parseCjsExports on "react" it returns
exportDefault: false
, when I would expectexportDefault: true
. If we don't export "default" from React, when we run esbuild on the following code:... the generated code fails with "default" not being defined on the export.
However, if we add the following line (which would be done if exportDefault: true):
Everything seems OK.
Shouldn't the result of that script be exportDefault: true?
The text was updated successfully, but these errors were encountered: