-
Notifications
You must be signed in to change notification settings - Fork 11
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
File replacement not correct #13
Comments
I've run into the same issue. |
Version 1.0.0 fixed a lot of these issues. Are you still experiencing with a 1+ version? |
Hi, I had the same issue, so I updated to latest version and now I get the following error:
Here is my code:
}); |
Could you add a test case with your situation? Then I can try to debug it. |
Hi, I have been able to fix the issue. It seems that the function "startsWith" is not supported by all browsers. Now, I'm not running the script in a browser, but from my Linux shell, so I think that that function doesn't exists somewhere on my system. So I replaced it with "indexOf" and now everything is working well. I attach the modified file, if you want to look at it. |
This package is for node.js only. It's not designed to be run in a browser. |
I said I'm not running it from a browser, but from my Linux shell, so I suppose that there's something missing on my machine then. |
Suppose i have two files :
(Notice there are two different files (but of same file names - xyz.js) in two different paths and if i have both the files included in my jsp, both the files are replaced with same hashed version although they two hash to two different hash
The text was updated successfully, but these errors were encountered: