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

Replacement happens only once #9

Open
bekharsky opened this issue Oct 13, 2017 · 4 comments
Open

Replacement happens only once #9

bekharsky opened this issue Oct 13, 2017 · 4 comments

Comments

@bekharsky
Copy link

bekharsky commented Oct 13, 2017

I try to use broccoli-replace as some kind of a template engine (to replace @@include with partial HTML content).

But I cannot use it like that because replacement happens only once. On the initial build. How can I fix that?

@buzzware
Copy link

buzzware commented Jan 8, 2019

I have this problem too. Even the regular expression method only replaces on the first match.

@outaTiME
Copy link
Owner

outaTiME commented Mar 4, 2021

Hi guys, could you share your brofiles? so I can see to help you?

@bekharsky
Copy link
Author

Oh, what a blast from the past :) My brocfile is https://github.com/bekharsky/brocfile/blob/master/Brocfile.js but I don't have broccoli-replace here... I'll recreate example with broccoli-replace, I have this in one of my old projects...

Don't get me wrong about "blast from the past". I love to see that broccoli and that project are both alive and I'll try to create reproducible example ASAP.

@outaTiME
Copy link
Owner

outaTiME commented Mar 4, 2021

I had a lot of work the last time and it was difficult to take some time to update the project and its dependencies, it would be very useful if you could make a reproducible example since broccoli is used a lot by the ember community, thanks !!!

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

3 participants