Skip to content

Commit

Permalink
Fix comment (#12464)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 16, 2022
1 parent b26a245 commit 6cdf21a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build/config.mjs
Expand Up @@ -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
*/
Expand Down

0 comments on commit 6cdf21a

Please sign in to comment.