### System Info - ### Details - Current implement Using `require('xx')` to do it, but it isn't correct for esm module, please see https://github.com/web-infra-dev/rspack/issues/3203 ### Reproduce link _No response_ ### Reproduce Steps -