Skip to content

Commit 09675d9

Browse files
refactor: add todo
1 parent b3fa93b commit 09675d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function defaultGetLocalIdent(
372372
.replace(/[/+]/g, "_")
373373
.replace(/^\d/g, "_");
374374

375-
// TODO need improve on webpack side, we should allow to pass hash/contentHash without chunk property
375+
// TODO need improve on webpack side, we should allow to pass hash/contentHash without chunk property, also `data` for `getPath` should be looks good without chunk property
376376
const ext = path.extname(loaderContext.resourcePath);
377377
const base = path.basename(loaderContext.resourcePath);
378378
const name = base.slice(0, base.length - ext.length);

0 commit comments

Comments
 (0)