Closed pugnascotia closed 8 years ago
Hello and thanks for your contribution! What if this behaviour could be done as a default one for -d
(moduleFileNameDelimiter
) option, what do you think? I don't really want one more option. What if both -d
and -l
is specified? Which one has more priority then?
Good point. What about using the module name unchanged if the delimiter is set to an empty string?
I think it could be done for two scenarios:
-d
was used, but no characters were passed in as a valueI'm not sure, but in the second case, when using flag without value the value may be set as true
by default automatically. So keep this is mind.
I've added the -l option to use the unmodified data-component value as the filename. I prefer to use a camel-case style in my component names, so this option gives the developer complete control over the output filename.