Skip to content

module: default to commonjs when format cannot be detected

Rodrigo Muino Tomonari requested to merge github/fork/RedYetiDev/patch-28 into main

When --experimental-detect-module is enabled, the default format will no longer be commonjs; instead, it will be null until the source is loaded. In this PR, the behavior is changed to default to commonjs, aligning with the non-experimental behavior.

Merge request reports

Loading