-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add option to specify destination directory for taks #18
Comments
Did you try using the options What Dest directory are you referring to? the one that the compiled css/js gets compiled to or the ones for the destination jade file? |
@pgilad Thanks for the help, options |
It's seem I have found a bug when using options
Paths In the compiled views added without filerev hashes. |
Can you try running |
@pgilad unfortunately I can't show my technical detail for all. Please could you try my config yourself? |
I could but I don't have your dir file structure and/or your files... How do you run your task? |
Why I'm using targetPrefix option wrong? A need to reside files to .tmp directory first because I use google closure compiler for my js files but it does't support destination directory as source one. I run my task via Gruntfile. |
I'm going to need either a verbose log (run with Perhaps try to create a minimum test case where the task fails so that this can be debugged. The targetPrefix + filerev have been successfully used by others & me, and also have passing tests for them, so either it's an edge case that doesn't get handled right or you might be using it wrong |
Hi, I had the same error as @skotchio that paths in the compiled views had no filerev hashes. The problem was caused by missing / at the end in prefix and targetPrefix. @pgilad you can try this by removing slash in Gruntfile.js: https://github.com/pgilad/grunt-jade-usemin/blob/master/Gruntfile.js#L69-L70 ... tests will fail. |
It's a problem with targetPrefix, when only prefix doesn't contain slash, tests pass. |
Hi, thanks for the discovery, can you create a failing PR test case for this (and a possible fix)? |
…ontains no slash
Fixed and thanks to @ppitonak for the help... |
It would be cool if you add option to specify destination directory for taks like the following:
The text was updated successfully, but these errors were encountered: