Fix comment (#12464)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-03-16 10:24:22 +08:00
1 parent b26a24558a
commit 6cdf21af08
1 file changed
+2 -2
+2 -2
View File
@@ -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
*/