Closed knalli closed 9 years ago
@knalli try version 0.3.4
and see whether your problem still exisist. Last night I published version 0.3.3
and later find some problem, and have already published version 0.3.4
to fixed it.
Nope, sorry, problem not solved in 0.3.4
@knalli Try the bellow configuration and see if this can solve your problem?
inline: {
dev: {
src: ['temp/error.html']
}
}
I looked into the source code of Grunt, and found that when we use files array formate
(here) and don't set the dest
property, Grunt will set the dest
property to src
by default. It puzzled me, I will look deeper into it later.
} else if (grunt.util.kindOf(data.files) === 'object') {
for (prop in data.files) {
files.push({src: data.files[prop], dest: grunt.config.process(prop)});
}
} else if (Array.isArray(data.files)) {
Yes, that helps and it works again. I'm quite sure I'd tried this syntax but it does not work (some months ago).
Anyway: For me this solution is okay. If you do not see any outstanding bug, we can close this.
@chyingp, thank you very much for the hint!
@knalli glad to help :)
Hi,
an issue is being introduced with the latest 0.3.3.
Given a configuration where a file named
temp/error.html
will be processed (with--stack
):Config:
Log:
The previous 0.3.2 works fine.
If it is required, I can provide more details later tomorrow.