feat(IncludePlugin): regions for tsx#3048
Conversation
|
Added jsx, mjs and cjs extensions as well while I'm at it |
|
Thanks! The end region text discrepancy is unfortunate... I didn't implement the original feature, but I suspect the intent was to handle nested regions... |
|
Actually, nested regions should work fine either way -- it's like bracket sequences. One doesn't need to tell each closing bracket which of the opening ones it refers to. I can only see its usefullness if we wanted to support partially overlapping regions like However, I don't think it's important enough to open an issue about. |
|
Btw when is the next release planned? |
|
Unfortunately it'll likely be January; I've been very busy. NPM's decision to break literally everyone's CI automation arbitrarily and ignore everyone complaining is something I need to deal with fixing to get releases working again, and it isn't quite just a trivial fix without breaking beta/lts publishing. (Recurring 90 day breakage isn't something I have the patience to deal with, it needs to be fixed exactly once) If you need features on master you should be able to install via a Git dependency. |


Apparently including regions from TSX like
{@includeCode ./examples.tsx#component}was not supported: