module: default to commonjs when format cannot be detected
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.