Skip to content

Commit

Permalink
Examples: Remove polyfill.io example (#875)
Browse files Browse the repository at this point in the history
Removes polyfill.io example. We don't recommend it Next.js in general.
See:
https://github.com/vercel/next.js/blob/bbf6dfac615ae50b1db87a02a1179a2808ba0746/errors/no-unwanted-polyfillio.mdx
  • Loading branch information
delbaoliveira committed Feb 26, 2024
1 parent e4f2b98 commit e358346
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 71 deletions.
14 changes: 0 additions & 14 deletions solutions/script-component-strategies/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,6 @@ function Home() {

<hr className="border-t border-accents-2 my-6" />

<section id="beforeInteractive" className="flex flex-col gap-3">
<Text variant="h2">beforeInteractive examples</Text>
<List>
<li>
Polyfill: <Link href="/polyfill">Demo</Link> -{' '}
<Link href="https://github.com/vercel/examples/blob/main/solutions/script-component-strategies/pages/polyfill.tsx">
Code
</Link>
</li>
</List>
</section>

<hr className="border-t border-accents-2 my-6" />

<section id="afterInteractive" className="flex flex-col gap-3">
<Text variant="h2">afterInteractive examples</Text>
<List>
Expand Down
57 changes: 0 additions & 57 deletions solutions/script-component-strategies/pages/polyfill.tsx

This file was deleted.

0 comments on commit e358346

Please sign in to comment.