We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 665b84d commit 22168acCopy full SHA for 22168ac
lib/resource-mapper.js
@@ -64,7 +64,7 @@ class ResourceMapper {
64
const match = files.find(f => this._removeDollarExtension(f) === filename ||
65
(isIndex && f.startsWith(this._indexName + '.')))
66
if (!match) {
67
- throw new Error('File not found')
+ throw new Error(`File not found: ${fullPath}`)
68
}
69
path = `${folder}${match}`
70
contentType = this._getContentTypeByExtension(match)
0 commit comments