Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module: better error for named exports from cjs #33256

Closed

Commits on May 8, 2020

  1. module: better error for named exports from cjs

    We do not support importing named exports from a CJS module.
    This change decorates the error message for missing named exports in
    the case where the module being imported is expected to be CJS by the
    ESM loader.
    
    Signed-off-by: Myles Borins <myles.borins@gmail.com>
    MylesBorins committed May 8, 2020
    Copy the full SHA
    75f08f9 View commit details
    Browse the repository at this point in the history