blitz-js / blitzjs.com

Website & docs
https://blitzjs.com
MIT License
180 stars 327 forks source link

`export const` in the mdx is being replaced with `const` #591

Closed abuuzayr closed 3 years ago

abuuzayr commented 3 years ago

As the title describes, we have text in the documentation that I believe is being replaced unintentionally.

Screen Shot 2021-10-30 at 8 28 28 PM

This might cause issues for those of us who are following the Tutorial and might not get the expected results.

The screenshot above is from app/pages/docs/tutorial.mdx which appears in https://blitzjs.com/docs/tutorial.

Expected behaviour

The text in the documentation should appear as intended.

Other comments

I think this line is doing that replacement:

https://github.com/blitz-js/blitzjs.com/blob/22a845d34c67c23e8a9d1cfd6214c283b47ea7a9/blitz.config.js#L112

abuuzayr commented 3 years ago

cc @andrearizzello