Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Multiple replacements #162

Open
thdoan opened this issue Feb 10, 2023 · 1 comment
Open

[Feature Request] Multiple replacements #162

thdoan opened this issue Feb 10, 2023 · 1 comment

Comments

@thdoan
Copy link

thdoan commented Feb 10, 2023

It would be nice to be able to do this:

const options = [
  {
    files: 'path/to/file',
    from: /foo/g,
    to: 'bar',
  },
  {
    files: 'path/to/file2',
    from: 'baz',
    to: 'bax',
  }
];
@kabilansakthivelu
Copy link

Hi @adamreisnz,

I have raised a PR #190 for this enhancement. Kindly review and please let me know for any improvements.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants