replace-in-file
replace-in-file copied to clipboard
Feature Request: save as new
trafficstars
I'd love to be able to set a toFiles option.
Eg.
const options = {
files: 'path/to/files/*.html',
toFiles: fileName => `new/path/${fileName}`
}
Cheers!!
Look good =) I think that we need to look at gulp/grunt tasks for cases and api because it is "standard" https://www.npmjs.com/package/gulp-replace https://www.npmjs.com/package/grunt-replace
@akaguny Would love this feature to save the new file content into a few file!
Is there still no option?
No option to save to a new file yet, if anyone wants to open a PR I'll be happy to include it.