scripts/build/config.mjs/replaceDiffPackageEntry
const replaceDiffPackageEntry = (file) => ({
  module: require.resolve("diff"),
  path: path.join(path.dirname(require.resolve("diff/package.json")), file),
});