Fix comment (#12464)
This commit is contained in:
1 parent
b26a24558a
commit
6cdf21af08
1 file changed
+2
-2
@@ -25,8 +25,8 @@ const { require } = createEsmUtils(import.meta);
|
||||
|
||||
/*
|
||||
`diff` use deprecated folder mapping "./" in the "exports" field,
|
||||
so we can't `require("diff/lib/diff/array.js")` directory.
|
||||
To reduce the bundle size
|
||||
so we can't `require("diff/lib/diff/array.js")` directly.
|
||||
To reduce the bundle size, replace the entry with smaller files.
|
||||
|
||||
We can switch to deep require once https://github.com/kpdecker/jsdiff/pull/351 get merged
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user