-
Notifications
You must be signed in to change notification settings - Fork 31
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
Possible to pass the relative into the object? #9
Comments
I worked around this by creating a root.path object. It isn't an ideal situation, since it has to be manually updated, but will work for now. Still welcome any thoughts on accessing the relative path within htmlreplace though. (if possible) |
Hi Cory, i'm sorry i wasn't able to answer quicker. Well, as i already stated in other issues this plugin was built for text replacements. The initial idea was to allow to allow different replacements for, for example |
I'll keeps eyes peeled. :) Sent from my iPhone 5
|
Ok, it took unexpectedly long time to implement this, sorry. |
so I'm back to this and unfortunately, I can't seem to get
This however, turns this |
@corydorning i'm sorry for the delay, i was away for some time. So, the path is correct, the slashes are wrong, right? I fixed slashes in 1.4.5, please check it out. |
I have several HTML files i'm looping through in order to update my 'source' files with my 'dist' files. An example would be
/indext.hml
linking to<script src="js/main.js>
and/pages/foo.html
linking to the same file via<script src="../js/main.js">
.Given the relative paths, setting a static option value doesn't work. I could set a root value, but this is actually a boilerplate build system that is shared, so that makes it a tougher sell. Here's my task, didn't know if you had any ideas on how it would be possible to pass the base path in...
The text was updated successfully, but these errors were encountered: