storybookjs / mdx1-csf

MDX to CSF compiler using MDXv1
MIT License
4 stars 12 forks source link

Move mdx import out of loader into compile #20

Closed shilman closed 1 year ago

shilman commented 1 year ago

Issue: N/A

To simplify the vite implementation of MDX1 per https://github.com/storybookjs/storybook/pull/20823

What Changed

How to test

See attached tests

Change Type

πŸ“¦ Published PR as canary version: 0.0.5--canary.20.d7a3376.0
:sparkles: Test out this PR locally via: ```bash npm install @storybook/mdx1-csf@0.0.5--canary.20.d7a3376.0 # or yarn add @storybook/mdx1-csf@0.0.5--canary.20.d7a3376.0 ```

Version

Published prerelease version: v1.0.0-next.1

Changelog #### πŸ’₯ Breaking Change - Update to 7.0 / mdx2-csf structure [#19](https://github.com/storybookjs/mdx1-csf/pull/19) ([@shilman](https://github.com/shilman)) #### πŸ› Bug Fix - Move mdx import out of loader into compile [#20](https://github.com/storybookjs/mdx1-csf/pull/20) ([@shilman](https://github.com/shilman)) - ReDoS attack patch [#17](https://github.com/storybookjs/mdx1-csf/pull/17) ([@iarmbears](https://github.com/iarmbears)) #### Authors: 2 - [@iarmbears](https://github.com/iarmbears) - Michael Shilman ([@shilman](https://github.com/shilman))