You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,17 @@
8
8
9
9
- Upgrade for MDX 2 **BREAKING CHANGE**
10
10
- Switch to ESM only (it depends on `@mdx-js/mdx` that also switched to ESM only) **BREAKING CHANGE**
11
+
- Add `exports` field in `package.json`
11
12
- Add peer dependency on `@mdx-js/mdx`**BREAKING CHANGE**
12
13
- Add support for `recmaPlugins` in addition to `rehypePlugins` and `remarkPlugins` in `MDX` props
13
14
-`useMDX` can accept all kind of plugins
14
15
- Add `isReady` in `useMDX` return object
15
-
- Bundle size was reduced from [1.6 MB](https://bundlephobia.com/package/@blocz/mdx-live@0.1.0) to [23.7 kB](https://bundlephobia.com/package/@blocz/mdx-live@0.2.0-rc.2) (-98.5%)
16
+
- Bundle size was reduced from [1.6 MB](https://bundlephobia.com/package/@blocz/mdx-live@0.1.0) to [21.9 kB](https://bundlephobia.com/package/@blocz/mdx-live@0.2.0) (-98.6%)
16
17
17
18
### `@blocz/mdx-plugin-detect-imports`
18
19
19
20
- Update for MDX 2 (but still in CJS, and compatible in ESM)
21
+
- Add `exports` field in `package.json`
20
22
- Can only be used in MDX async function (like `compile`) but not the sync ones (like `compileSync`)
21
23
- Change format of `ImportStatement` to better represent named vs default exports:
0 commit comments