We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 376aea1 + 594f7dc commit a71badbCopy full SHA for a71badb
packages/qwik/src/core/components/prefetch.ts
@@ -44,7 +44,8 @@ export const PrefetchServiceWorker = (opts: {
44
}
45
let code = PREFETCH_CODE.replace('URL', resolvedOpts.path);
46
if (!isDev) {
47
- code = code.replaceAll(/\s+/gm, '');
+ // consecutive spaces are indentation
48
+ code = code.replaceAll(/\s\s+/gm, '');
49
50
const props = {
51
dangerouslySetInnerHTML: [
0 commit comments