Skip to content

Commit d1114af

Browse files
committed
v0.2.0
1 parent 848eca8 commit d1114af

File tree

8 files changed

+10
-8
lines changed

8 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,17 @@
88

99
- Upgrade for MDX 2 **BREAKING CHANGE**
1010
- 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`
1112
- Add peer dependency on `@mdx-js/mdx` **BREAKING CHANGE**
1213
- Add support for `recmaPlugins` in addition to `rehypePlugins` and `remarkPlugins` in `MDX` props
1314
- `useMDX` can accept all kind of plugins
1415
- 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%)
1617

1718
### `@blocz/mdx-plugin-detect-imports`
1819

1920
- Update for MDX 2 (but still in CJS, and compatible in ESM)
21+
- Add `exports` field in `package.json`
2022
- Can only be used in MDX async function (like `compile`) but not the sync ones (like `compileSync`)
2123
- Change format of `ImportStatement` to better represent named vs default exports:
2224

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packages/*",
55
"tests/*"
66
],
7-
"version": "0.2.0-rc.9",
7+
"version": "0.2.0",
88
"repository": "git@github.com:bloczjs/mdx.git",
99
"author": "Ayc0 <ayc0.benj@gmail.com>",
1010
"license": "MIT",

packages/mdx-live/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/mdx-live",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"type": "module",
55
"source": "src/index.ts",
66
"main": "lib/mdx-live.js",

packages/mdx-plugin-detect-imports/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/mdx-plugin-detect-imports",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"type": "commonjs",
55
"main": "src/plugin.cjs",
66
"module": "src/plugin.mjs",

tests/esbuild-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/esbuild-test",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"private": true,
55
"author": "Ayc0 <ayc0.benj@gmail.com>",
66
"license": "MIT",

tests/mdx-js-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/mdx-js-test",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"private": true,
55
"author": "Ayc0 <ayc0.benj@gmail.com>",
66
"license": "MIT",

tests/rollup-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/rollup-test",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"private": true,
55
"author": "Ayc0 <ayc0.benj@gmail.com>",
66
"license": "MIT",

tests/webpack-test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blocz/webpack-test",
3-
"version": "0.2.0-rc.9",
3+
"version": "0.2.0",
44
"private": true,
55
"author": "Ayc0 <ayc0.benj@gmail.com>",
66
"license": "MIT",

0 commit comments

Comments
 (0)