From e783e9202901729f0a097d7db3599d095e23bfba Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Tue, 7 Apr 2020 09:50:09 -0700 Subject: [PATCH] Fix extension changes not being applied to basename. --- build/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/file.js b/build/file.js index 4864a7a..d33d06e 100644 --- a/build/file.js +++ b/build/file.js @@ -28,7 +28,7 @@ module.exports = exports = class File { this.cwd = file.dir; this.ext = this.preprocessed ? file.ext : normalizedExt(file.ext); this.name = file.name; // index, fileA, fileB - this.basename = file.base; // index.ext, fileA.ext, fileB.ext + this.basename = this.name + this.ext; // index.ext, fileA.ext, fileB.ext const dir = this._dir(file.dir); if (dir) {