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

Hash a directory instead of a filename possible? #134

Open
eguneys opened this issue Jul 11, 2014 · 0 comments
Open

Hash a directory instead of a filename possible? #134

eguneys opened this issue Jul 11, 2014 · 0 comments

Comments

@eguneys
Copy link

eguneys commented Jul 11, 2014

Is it possible to append the hash to directory instead of the filename?

So if i reference a directory like

assets.tag('/mydir')

I get a hashed version

/mydir-0923489085

So this would mean if i request /mydir-8w7897234/myscript.js i would get the file /mydir/myscript.js

The reason i am asking is i am trying to integrate this with requirejs, and
i want to set this hashed directory as my baseUrl on requirejs config.

I don't know if this would work, sorry if this is a dumb question.

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