Skip to content

Commit

Permalink
add precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Apr 3, 2024
1 parent 7e61a93 commit d49cc28
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next/src/shared/lib/lazy-dynamic/preload-css.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export function PreloadCss({ moduleIds }: { moduleIds: string[] | undefined }) {
return (
<link
key={file}
rel="preload stylesheet"
// @ts-ignore
precedence={'dynamic'}
rel="stylesheet"
href={'/_next/' + file}
as="style"
/>
Expand Down

0 comments on commit d49cc28

Please sign in to comment.