You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently when you require a directory which only has a single file, then the key appears with the full relative path and no extension, whatever your resolve options are.
Here is the test case (Bug only shows up when only one file in the target directory):
// Input
var templates = require('./templates/*.hbs', { mode: 'hash' });
// Output
var templates = {
'./templates/zoning': require('./templates/zoning.hbs')
};
// Output expected
var templates = {
'zoning.hbs': require('./templates/zoning.hbs')
};
I know ! You want tests, screenshots of it, photo of me getting the bug while evil laughing.
But I already lost too much time on this bug so do whatever you want with that information.
The text was updated successfully, but these errors were encountered:
I think you're exaggerating my expectations of a bug report, but I understand if you feel annoyed by my response on your previous bug report. I think I have everything I need from this report, so I'll look in to it as fast as I can ;)
Apparently when you require a directory which only has a single file, then the key appears with the full relative path and no extension, whatever your resolve options are.
Here is the test case (Bug only shows up when only one file in the target directory):
I know ! You want tests, screenshots of it, photo of me getting the bug while evil laughing.
But I already lost too much time on this bug so do whatever you want with that information.
The text was updated successfully, but these errors were encountered: