Closed nevir closed 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
Yes, thought about doing this too. Shouldn't we change codegen also to emit imports from reactdown/runtime?
reactdown/runtime
Ok, I refactored it a bit and added missing pieces.
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