andreypopp / reactdown

Markdown based live document format
https://andreypopp.github.io/reactdown
MIT License
116 stars 10 forks source link

Set up reactdown/runtime for easy vendoring #14

Closed nevir closed 8 years ago

nevir commented 8 years ago

Allows for including shared reactdown runtime code in a common bundle, to avoid including it in each chunk when building markdown files into multiple chunks.

I also snuck in exports; though I don't have an immediate use for them

andreypopp commented 8 years ago

Yes, thought about doing this too. Shouldn't we change codegen also to emit imports from reactdown/runtime?

andreypopp commented 8 years ago

Ok, I refactored it a bit and added missing pieces.