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
There may also be issues with optimization / production-build tooling that attempts to analyze module source code to find CJS-style require calls and translate them, which in this case would give unexpected results. So there's also a potential compat problem there. (Not sure if that is still an issue, actually. But it definitely used to be a problem because of limited analysis.)
Given
The output when transpiled to AMD is
Expected output, following AMD conventions instead of CJS-inside-AMD compatibility syntax, would be
The text was updated successfully, but these errors were encountered: