Skip to content

Commit 6cdf21a

Browse files
authored
Fix comment (#12464)
1 parent b26a245 commit 6cdf21a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build/config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ const { require } = createEsmUtils(import.meta);
2525

2626
/*
2727
`diff` use deprecated folder mapping "./" in the "exports" field,
28-
so we can't `require("diff/lib/diff/array.js")` directory.
29-
To reduce the bundle size
28+
so we can't `require("diff/lib/diff/array.js")` directly.
29+
To reduce the bundle size, replace the entry with smaller files.
3030
3131
We can switch to deep require once https://github.com/kpdecker/jsdiff/pull/351 get merged
3232
*/

0 commit comments

Comments
 (0)