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: save as new #120

Open
mesqueeb opened this issue Jul 5, 2020 · 4 comments
Open

Feature Request: save as new #120

mesqueeb opened this issue Jul 5, 2020 · 4 comments

Comments

@mesqueeb
Copy link

mesqueeb commented Jul 5, 2020

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!!

@akaguny
Copy link
Contributor

akaguny commented Oct 6, 2020

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

@dbhat6
Copy link

dbhat6 commented Mar 19, 2021

@akaguny Would love this feature to save the new file content into a few file!

@oliverjessner
Copy link

Is there still no option?

@adamreisnz
Copy link
Owner

No option to save to a new file yet, if anyone wants to open a PR I'll be happy to include it.

@adamreisnz adamreisnz added the 8.0 label May 28, 2023
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

5 participants