Skip to content

Commit 995f8fb

Browse files
committed
chore: add comment
1 parent 0ab1b4e commit 995f8fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/utils/getFilenameFromUrl.js

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ function getFilenameFromUrl(context, url, extra = {}) {
123123
if (extra.stats.isFile()) {
124124
foundFilename = filename;
125125

126+
// Rspack does not yet support `assetsInfo`, so we need to check if `assetsInfo` exists here
126127
if (assetsInfo) {
127128
const assetInfo = assetsInfo.get(
128129
pathname.slice(publicPathObject.pathname.length),

0 commit comments

Comments
 (0)