Skip to content

Commit 3ca725f

Browse files
committed
Add missing comment back
1 parent f5bd533 commit 3ca725f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tree/utils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export function getModulePathParts(moduleData) {
66
}
77

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

0 commit comments

Comments
 (0)