poetic / reacterminator

Convert html to react components in es6 syntax.
56 stars 6 forks source link

Need ability to skip a file based on data attribute instead of file name #12

Open MatthewHager opened 8 years ago

MatthewHager commented 8 years ago

We have certain cases where we can't control the file name. Would be great to be able to skip generation of code on a file based on a data role at the html or body level.

dvmorris commented 8 years ago

FYI, this would be better to do on the body tag. I don't think you can add custom attributes to the html tag. Another alternative would be to look for a special meta tag in the head tag, or just make the meta-description "ignore" or something like that.