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

esm: empty ext from pkg type/main doesnt affect format #31021

Closed
wants to merge 1 commit into from

Commits on Dec 18, 2019

  1. esm: empty ext from pkg type/main doesnt affect format

    This ensures files with unknown extensions like foo.bar are not
    loaded as CJS/ESM when imported as a main entry point and makes
    sure that those files would maintain the same format even if loaded
    after the main entrypoint.
    bfarias-godaddy committed Dec 18, 2019
    Copy the full SHA
    05e8b8e View commit details
    Browse the repository at this point in the history