jxnblk / mdx-deck

♠️ React MDX-based presentation decks

Home Page:https://mdx-deck.jxnblk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For the CLI, is there a way to change the build export path?

chrisjlee opened this issue · comments

There a way to change the path of where the slide deck is being exported to?

I didn't find anything in the docs about this. As a workaround, this worked for my needs:

"scripts": {
    // ...
    "build": "rimraf docs && mdx-deck build slides.mdx && mv public docs"
  },

It looks like the CLI option to customize the build output directory was removed in v3:

https://github.com/jxnblk/mdx-deck/blob/master/MIGRATION.md