Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
inottn committed Aug 20, 2024
1 parent 0ab1b4e commit 995f8fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/getFilenameFromUrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function getFilenameFromUrl(context, url, extra = {}) {
if (extra.stats.isFile()) {
foundFilename = filename;

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

0 comments on commit 995f8fb

Please sign in to comment.