Skip to content

Commit

Permalink
chore: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoyun committed Jul 21, 2024
1 parent 7488568 commit 39fea2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/plugin-test/css-extract/cases/hmr/expected/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,13 @@ function updateCss(el, url) {
}
}
function getReloadUrl(href, src) {
let ret;
let ret = "";
href = normalizeUrlFn(href);
src.some(url => {
if (href.indexOf(src) > -1) {
ret = url;
}
});
//@ts-expect-error
return ret;
}
function reloadStyle(src) {
Expand Down

0 comments on commit 39fea2e

Please sign in to comment.