Skip to content

Commit

Permalink
refactor: code
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Sep 2, 2021
1 parent 480bf1d commit 699d65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ class Server {
// If key = main.other.mjs && filename = main.other => true
if (
splitKey.length - 1 === splitOutputFilename.length &&
splitKey[0] === outputFilename.split(".")[0]
splitKey[0] === splitOutputFilename[0]
) {
extension = path.extname(key);
isOutputModule = value.javascriptModule;
Expand Down

0 comments on commit 699d65f

Please sign in to comment.