forked from external-repos/squoosh
Prerender & client render of intro
This commit is contained in:
@@ -76,7 +76,7 @@ export default function (resolveFileUrl) {
|
||||
}),
|
||||
postCSSUrl({
|
||||
url: ({ relativePath, url }) => {
|
||||
if (/^https?:\/\//.test(url)) return url;
|
||||
if (/^(https?|data):/.test(url)) return url;
|
||||
const parsedPath = parsePath(relativePath);
|
||||
const source = readFileSync(
|
||||
resolvePath(dirname(path), relativePath),
|
||||
|
||||
Reference in New Issue
Block a user