process(text) {
          const { fsModuleNameVariableName } = text.match(
            /,(?<fsModuleNameVariableName>[\p{ID_Start}_$][\p{ID_Continue}$]*)="fs",/u,
          ).groups;

          return text
            .replaceAll(`require(${fsModuleNameVariableName})`, "{}")
            .replaceAll('require("fs")', "{}")
            .replaceAll('require("constants")', "{}");
        }
@typedef {Object} BuildOptions
@property {object[]?} replaceModule - Module replacements
@property {string[]?} target - ESBuild targets
@property {string[]?} external - array of paths that should not be included in the final bundle
@property {boolean?} minify - disable code minification

@typedef {Object} Output
@property {"esm" | "umd" | "cjs" | "text" | "json"} format - File format
@property {string} file - path of the output file in the `dist/` folder
@property {string?} umdVariableName - name for the UMD file (for plugins, it'll be `prettierPlugins.${name}`)

@typedef {Object} File
@property {string} input - input of the file
@property {Output} output - output of the file
@property {"javascript" | "types" | "meta"} kind - file kind
@property {function} build - file generate function
@property {"node" | "universal"} platform - ESBuild platform
@property {BuildOptions} buildOptions - ESBuild options
@property {boolean?} isPlugin - file is a plugin
@property {boolean?} addDefaultExport - add default export to bundle