Skip to content

Commit 3506796

Browse files
committed
Change plugin folder
1 parent e46411d commit 3506796

22 files changed

+79
-91
lines changed

contributing.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Files and Folders
2+
3+
- `packages/mdx`: the npm package
4+
- `packages/mdx/vite.config.js`: we only use vite for testing with vitest
5+
- `packages/mdx/rollup.config.js`: rollup builds the thing we release to npm
6+
- `packages/mdx/next.config.js`: we have a nextjs testing site, our poor man's storybook
7+
- `packages/mdx/pages`: the pages for the nextjs test site
8+
- `packages/mdx/dev`: code and content used by the nextjs test site
9+
- `packages/mdx/src/remark`: the code that runs at build time when you compile an mdx file
10+
- `examples`: a list of examples, most of them use the Code Hike version from `packages/mdx/dist`
11+
- `examples/bundle-test`: this one is used by `.github/workflows/bundle-analysis.yml`

packages/mdx/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export { remarkCodeHike } from "./mdx-plugin/plugin"
1+
export { transform as remarkCodeHike } from "./remark/transform"
22

33
export { highlight } from "./highlighter"

packages/mdx/src/mdx-plugin/ch-usage.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)