Skip to content

module: remove bogus assertion in CJS entrypoint handling with --import

The synchronous CJS translator can handle entrypoints now, this can be hit when --import is used, so lift the bogus assertions and added tests.

Fixes: https://github.com/nodejs/node/issues/54577

Merge request reports

Loading