Allow users to specify the separator (' ', '\n', '\n\t', etc) they would like to use between elements of the output arrays for modules and paths in the optimized content. Defaults to empty space (' ') so original behavior is not modified if this option is not supplied.
Also added documentation for this option to README.md.
NOTE I did not update package versions, etc.
added seperator option for output path and module arrays
documented sperator option
fix typo: seperator => separator
That's a good idea, but i think instead of providing a global separator option, it's better to preserve the original separators of the source files by modifying RegExps (i'm currently working on). We can save the format of each source file in this manner. In other hand this module must not change the original format of source files.
I agree - I had the same thought while working on this, but it seemed like more work than I could take on right now. I'm glad you're working on it!
Thanks for your good PR.
NP - thanks for your thoughtful consideration! I'm glad you have a better solution in the works, also better that it's your regEx skills working on it than mine. ;)
@tomwayson Preserving the original separators of the source files now completed.
Nice work! Thanks!