Skip to content

Commit f0cfbf8

Browse files
committed
fix include filenames
1 parent 49fe6ca commit f0cfbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/writeChunk.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function(depTree, chunk, options) {
3535
buffer.push(": function(module, exports, require) {\n\n");
3636
if(options.includeFilenames) {
3737
buffer.push("/*** ");
38-
buffer.push(shortenFilename(module.filename || module.dirname));
38+
buffer.push(shortenFilename(module.request || module.dirname));
3939
buffer.push(" ***/\n\n");
4040
}
4141
buffer.push(writeSource(module, options,

0 commit comments

Comments
 (0)