Skip to content

Commit

Permalink
Add missing comment back
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jul 31, 2023
1 parent f5bd533 commit 3ca725f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tree/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export function getModulePathParts(moduleData) {
}

const loaders = moduleData.name.split('!');
// Removing loaders from module path: they're joined by `!` and the last part is a raw module path
const parsedPath = loaders[loaders.length - 1]
.split('/')
.slice(1)
Expand Down

0 comments on commit 3ca725f

Please sign in to comment.