Commit 6cd59e3
perf: drop unused MDXEditor from OSTable to cut @MDXEditor from eager bundle
OSTable defined an `Editor` component wrapping @mdxeditor/editor's MDXEditor, but
it was never rendered (dead code since a version bump 9 months ago). The unused
import pulled the whole markdown-editor stack — @mdxeditor/editor + @codemirror,
@codesandbox/sandpack, acorn, downshift, react-hook-form — into the always-loaded
bundle on every page.
OSTable was the only eager importer of @mdxeditor/editor, so deleting the dead
component (and the now-unused navigate import) removes ~3.2 MiB from the eager
graph with no behaviour change.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bc2398a commit 6cd59e3
1 file changed
Lines changed: 0 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | 137 | | |
164 | 138 | | |
165 | 139 | | |
| |||
0 commit comments