pajtai / grunt-useref

Update references, concatenate and minify with build blocks
https://npmjs.org/package/grunt-useref
MIT License
26 stars 8 forks source link

Suggestion: Permanent Output Option #16

Open fassetar opened 8 years ago

fassetar commented 8 years ago

I'm using grunt-htmlmin along with this package and since the comments are needed I can't run htmlmin beforehand. Instead what I've done is moved the files, run the useref task, and then htmlmin. I don't see any other way around it but if anyone has a better solution let me know. So what I propose is a flag to make the temp directory permanent (default: false). Probably need to rename 'temp' to something like 'output'.