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

loader: return package format from defaultResolve if known #40980

Commits on Dec 13, 2021

  1. loader: return package format from defaultResolve if known

    This is a proposed modification of defaultResolve to return the package
    format in case it has been found during package resolution.
    The format will be returned as described in the documentation:
    https://nodejs.org/api/esm.html#resolvespecifier-context-defaultresolve
    There is one new unit test as well:
    test/es-module/test-esm-resolve-type.js
    dygabo committed Dec 13, 2021
    Copy the full SHA
    f54e305 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2d2c475 View commit details
    Browse the repository at this point in the history