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

How to select multiple files as the replacement? #10

Closed
ChJJin opened this issue Jul 13, 2014 · 2 comments
Closed

How to select multiple files as the replacement? #10

ChJJin opened this issue Jul 13, 2014 · 2 comments

Comments

@ChJJin
Copy link

ChJJin commented Jul 13, 2014

I would like to select files through this way :

gulp.src('./src/index.html')
  .pipe(g.htmlReplace({
    js: './src/**/*.js'
  }))

but the file just like this :

<script src="./src/**/*.js"></script>

what I want is to replace all the matching files, is it possible?
thanks.

@VFK
Copy link
Owner

VFK commented Jul 19, 2014

Hi. I'm really sorry it took such a long time to answer your question.
Are you trying to replace the files found in index.html while maintaining directory hierarchy?
Like in this question: #9 ?
If so then, as i answered there, it is currently not possible but i'll come up with some way of doing it in the next version of plugin.

@ChJJin
Copy link
Author

ChJJin commented Jul 20, 2014

Thanks for your reply.
It's such a pity and I really expect the next version. :)

@ChJJin ChJJin closed this as completed Jul 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants