Skip to content

Commit

Permalink
fix: fixed module name
Browse files Browse the repository at this point in the history
  • Loading branch information
teclone committed Mar 21, 2020
1 parent dfabab0 commit 3d3c943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Bundler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Bundler {
oldRelativePath,
newRelativePath,
filePath,
name: oldRelativePath === entryFile ? moduleName : baseName,
name: oldRelativePath === entryFile ? moduleName : camelCase(baseName),
isBuildFile: extensions.includes(extname),
});
}
Expand Down

0 comments on commit 3d3c943

Please sign in to comment.