Merge pull request #674 from johlrich/patch-1
Change getModuleName regex to only remove extenion
This commit is contained in:
commit
6674611b26
@ -171,7 +171,7 @@ DefaultFormatter.prototype.getModuleName = function () {
|
||||
|
||||
if (!opts.keepModuleIdExtensions) {
|
||||
// remove extension
|
||||
filenameRelative = filenameRelative.replace(/\.(.*?)$/, "");
|
||||
filenameRelative = filenameRelative.replace(/\.(\w*?)$/, "");
|
||||
}
|
||||
|
||||
moduleName += filenameRelative;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user