hashicorp / next-mdx-remote

Load MDX content from anywhere
Mozilla Public License 2.0
2.67k stars 140 forks source link

Reducing size of serialize import #288

Closed mimiqkz closed 2 years ago

mimiqkz commented 2 years ago

Can we make a request for reducing import size of the serialize? import { serialize } from "next-mdx-remote/serialize"; // <-- this is 506.9k (gzipped 159.7k) which is not good

noahlst commented 2 years ago

serialize only gets called at build time. So there's no need to worry because it doesn't affect client-side bundle sizes. Also see #259