Closed cksachdev closed 4 years ago
I am trying to escape a js file and output it as a string. Something similar to functionality on https://www.freeformatter.com/javascript-escape.html
Could I run a custom function instead of from and to configuration options, which are regular expressions?
https://github.com/adamreisnz/replace-in-file#using-callbacks-for-from
I am trying to escape a js file and output it as a string. Something similar to functionality on https://www.freeformatter.com/javascript-escape.html
Could I run a custom function instead of from and to configuration options, which are regular expressions?