Skip to content

Commit 55e12d8

Browse files
authored
crossOrigin --> crossorigin
1 parent 3202ec9 commit 55e12d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class NetlifyServerPushPlugin {
3434
} else if (/^(style|bundle)(.+)\.css$/.test(filename)) {
3535
mainCss = `Link: </${filename}>; rel=preload; as=style`;
3636
} else if (hasEsm && /^bundle(.+)\.esm\.js$/.test(filename)) {
37-
mainJs = `Link: </${filename}>; rel=preload; as=script; crossOrigin=anonymous`;
37+
mainJs = `Link: </${filename}>; rel=preload; as=script; crossorigin=anonymous`;
3838
} else if (!hasEsm && /^bundle(.+)\.js$/.test(filename)) {
3939
mainJs = `Link: </${filename}>; rel=preload; as=script`;
4040
}

0 commit comments

Comments
 (0)