We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have an index.js file that exists in below code:
index.js
for(var i=0;i<allDots.length;i++){ allDots[i].addEventListener("click",function(){ var index= [].indexOf.call(allDots, this); bannerTl.seek("index"+(index+1)); }) }
After compilation, the code becomes:
for(var i=0;i<allDots.length;i++){ allDots[i].addEventListener("click",function(){ var index= [].indexOf.call(allDots, this); bannerTl.seek("index.f22f6e73"+(index+1)); }) }
bannerTl.seek("index"+(index+1)); -> bannerTl.seek("index.f22f6e73"+(index+1));
bannerTl.seek("index"+(index+1));
bannerTl.seek("index.f22f6e73"+(index+1));
so sad!, how can I solve it?
The text was updated successfully, but these errors were encountered:
@littledu Thanks for reporting the bug. Unfortunately there is a whole branch for handling "extensionless" references to JS files 🙈 https://github.com/smysnk/gulp-rev-all/blob/master/revisioner.js#L62. I went a bit in the commit history and I think the purpose is solving references when using CommonJS. Maybe you can play with some settings https://github.com/smysnk/gulp-rev-all#dontupdatereference to ignore index.js?
{ dontUpdateReference: ["index.js"] }
But it's gonna ignore actual references to index.js 🙈 I don't know enough about this project to propose a patch.
Sorry, something went wrong.
No branches or pull requests
I have an
index.js
file that exists in below code:After compilation, the code becomes:
bannerTl.seek("index"+(index+1));
->bannerTl.seek("index.f22f6e73"+(index+1));
so sad!, how can I solve it?
The text was updated successfully, but these errors were encountered: