-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
Hey, I just noticed that you added a CLI. I was wondering if you would consider supporting a config file to contain the from & to options.
My use-case: I replace an HTML comment with my analytics tracking code. The tracking code is multi-line, so I can't inline it in the command. If we had a config file, we could do something like:
module.exports = {
from: '<!-- replace me -->',
to: `Some big
multiline
text`
}replace-in-file dist/**/*.html -c replace.js
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels