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.
1 parent 3202ec9 commit 55e12d8Copy full SHA for 55e12d8
index.js
@@ -34,7 +34,7 @@ class NetlifyServerPushPlugin {
34
} else if (/^(style|bundle)(.+)\.css$/.test(filename)) {
35
mainCss = `Link: </${filename}>; rel=preload; as=style`;
36
} else if (hasEsm && /^bundle(.+)\.esm\.js$/.test(filename)) {
37
- mainJs = `Link: </${filename}>; rel=preload; as=script; crossOrigin=anonymous`;
+ mainJs = `Link: </${filename}>; rel=preload; as=script; crossorigin=anonymous`;
38
} else if (!hasEsm && /^bundle(.+)\.js$/.test(filename)) {
39
mainJs = `Link: </${filename}>; rel=preload; as=script`;
40
}
0 commit comments