blog/blog-log/compare-mdx-compiler #189
Replies: 3 comments 3 replies
-
좋은글 감사합니다 :) Since this project was initially created, Kent C Dodds has made a similar project, mdx-bundler. This library supports imports and exports within a mdx file (as long as you manually read each imported file and pass its contents) and automatically processes frontmatter. If you have a lot of files that all import and use different components, you may benefit from using mdx-bundler, as next-mdx-remote currently only allows components to be imported and made available across all pages. It's important to note that this functionality comes with a cost though - mdx-bundler's output is at least 400% larger than the output from next-mdx-remote for basic markdown content. 기본 마크다운 콘텐츠의 경우 mdx-bundler의 출력이 next-mdx-remote의 출력보다 적어도 400% 더 크다고 하는데, |
Beta Was this translation helpful? Give feedback.
-
와우 프로젝트까지 너무 감사합니다 ㅎㅎ 이래나 저래나 번들러가 용량면에서 효율적이군요
2023년 5월 26일 (금) 오후 6:27, Time Gambit ***@***.***>님이 작성:
… 답이 늦었네요, 죄송합니다!
제 블로그 포스트 중 길이가 가장 긴 포스트로 비교해본 결과 다음과 같습니다.
mdx-bundler next-mdx-remote
dev 621KB 531KB
production 176KB 264KB
직접 비교하실 수 있도록 간단한 프로젝트 <https://github.com/jintak0401/compare-mdx-library>도
만들었습니다 🙃
—
Reply to this email directly, view it on GitHub
<#189 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOI334MRJWU4UXMQMGJR4ATXIBZR3ANCNFSM6AAAAAASWXC32Y>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
블로그 개발에 참고가 되었습니다. 감사합니다 ㅎㅎ 오타라고 생각되는 부분이 있어서 말씀드려봅니다 ~ |
Beta Was this translation helpful? Give feedback.
-
blog/blog-log/compare-mdx-compiler
블로그를 제작하면서 next-mdx-remote와 mdx-bundler 중 무엇을 사용할 것인지 고민했었는데, 이 두 라이브러리를 비교한 글입니다.
http://localhost:3000/blog/blog-log/compare-mdx-compiler
Beta Was this translation helpful? Give feedback.
All reactions