hunk.code_window:         options.mode !== "production" && map
             ? fse.writeFile(`${cssBundlePath}.map`, map.toString()) // Write our updated source map rather than esbuild's
             : null,
         ]);
         // Return the CSS bundle path so we can use it to generate the manifest
         return cssBundlePath;
       };
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit:         ...outputFiles
             .filter((outputFile) => !/\.(css|js|map)$/.test(outputFile.path))
             .map(async (asset) => {
               await fse.ensureDir(path.dirname(asset.path));
               await fse.writeFile(asset.path, asset.contents);
             }),
  
hunk.file_path: packages/remix-dev/compiler/compileBrowser.ts
hunk.type: add
file: const { execSync } = require("child_process");
  const { readdir, stat } = require("fs/promises");
  const { join } = require("path");
  
  /**
   * @param {string} codemod
   */
  const main = async (codemod) => {
    if (!codemod) {
      console.error("Please specify a codemod to run");
      process.exit(1);
    }
  
    let buildPath = join(__dirname, "../", "build");
    let cliPath = join(
      buildPath,
      "node_modules",
      "@remix-run",
      "dev",
      "dist",
      "cli.js"
    );
    let examplesPath = join(process.cwd(), "examples");
    let examples = await readdir(examplesPath);
  
    examples.forEach(async (example) => {
      let examplePath = join(examplesPath, example);
      let stats = await stat(examplePath);
  
      if (!stats.isDirectory()) {
        return;
      }
  
      execSync(`node ${cliPath} codemod ${codemod} --force ${examplePath}`, {
        stdio: "inherit",
      });
    });
  };
  
  main(process.argv[2]);
  