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

Dynamic URLs/Paths #210

Open
Morkos opened this issue Aug 13, 2019 · 0 comments
Open

Dynamic URLs/Paths #210

Morkos opened this issue Aug 13, 2019 · 0 comments

Comments

@Morkos
Copy link

Morkos commented Aug 13, 2019

Hi there,

Is there a way to support dynamic paths using this library?

Example we have this in our AngularJS routing file

...
return 'app/pages/state-info/state/' + stateCode + '/overview.html';
....

Obviously if the string is static then gulp-rev-all detects the references just fine, however since stateCode is a variable and not computed till it executes, is there some way around this without changing the paths to be static? Any sort of static code analysis to be implemented?

Thank you

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

1 participant