next.js
00cb5d99 - perf: revert to use the light safe stringify for is-error (#86053)

Commit
68 days ago
perf: revert to use the light safe stringify for is-error (#86053) `is-error` is a helper that being used accorss client and server now, in #84909 we switched the underlying safe stringify error implementation to the precompiled dependency `safe-stable-stringify`. But it increased the client bundle size a bit. The change in #84909 was only for applying the `safe-stable-stringify` for client file logger with mcp, not really necessary need to change for is-error helper Note: Save minified around 12kb. it's actually 7.5kb on bundlephobia, but because we're using ncc to compile it to cjs dependency that the size seems slightly larger than their metrics. The saved gzip size would be around 2-3.x kb
Author
Committer
Parents
Loading