Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(plugin/css-extract): use typescript for css-extract-hmr #7245

Merged
merged 16 commits into from
Jul 24, 2024
Prev Previous commit
Next Next commit
fix: remove ts ignore
  • Loading branch information
wxiaoyun authored and SoonIter committed Jul 24, 2024
commit dd2ad2cf62864fcd787661c64062a9749a71ba46
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 142,7 @@ function updateCss(el: HTMLLinkElement & Record<string, any>, url?: string) {
}

function getReloadUrl(href: string, src: Array<string>): string {
let ret: string;
let ret = "";

href = normalizeUrlFn(href);

Expand All @@ -152,7 152,6 @@ function getReloadUrl(href: string, src: Array<string>): string {
}
});

//@ts-expect-error
return ret;
}

Expand Down