Build: Reuse doc.mjs in index.mjs (#18193)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
fisker Cheungandautofix-ci[bot] authored and GitHub committed 2025-11-03 04:54:10 +08:00
1 parent 01ce265822
commit 0f05bc5871
9 files changed
+275 -49

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ function getEsbuildOptions({ packageConfig, file, cliOptions }) {
// Transform `.at`, `Object.hasOwn`, and `String#replaceAll`
{
module: "*",
process: transform,
process: (text, file) => transform(text, file, buildOptions),
},
// #12493, not sure what the problem is, but replace the cjs version with esm version seems fix it
{