Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove remarkLinkRewriteOptions from buildDynamicMDX #1906

Merged
merged 2 commits into from May 24, 2023

Conversation

dimaMachina
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented May 24, 2023

🦋 Changeset detected

Latest commit: 6dfa56e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
nextra Patch
nextra-theme-blog Patch
nextra-theme-docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented May 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextra-theme-docs-dev ❌ Failed (Inspect) May 24, 2023 7:08pm
nextra-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2023 7:08pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nextra ⬜️ Ignored (Inspect) May 24, 2023 7:08pm

@github-actions
Copy link
Contributor

📦 Next.js Bundle Analysis for swr-site

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 181.12 KB (🟡 +6 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Seventy-one Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/404 4.78 KB 185.9 KB 53.12% (+/- <0.01%)
/about/changelog.en-US 5.4 KB 186.52 KB 53.29% (+/- <0.01%)
/blog.en-US 5.35 KB 186.47 KB 53.28% (+/- <0.01%)
/blog/swr-v1.en-US 10.33 KB 191.46 KB 54.70% (+/- <0.01%)
/blog/swr-v1.ru 12.02 KB 193.14 KB 55.18% (+/- <0.01%)
/docs/404-500.en-US 5.62 KB 186.74 KB 53.35% (+/- <0.01%)
/docs/advanced/cache.ru 18.19 KB 199.31 KB 56.95% (+/- <0.01%)
/docs/advanced/code-highlighting.en-US 5.57 KB 186.69 KB 53.34% (+/- <0.01%)
/docs/advanced/dynamic-markdown-import.en-US 6.36 KB 187.48 KB 53.57% (+/- <0.01%)
/docs/advanced/file-name.with.DOTS.en-US 4.78 KB 185.9 KB 53.11% (+/- <0.01%)
/docs/advanced/file-name.with.DOTS.es-ES 4.79 KB 185.92 KB 53.12% (+/- <0.01%)
/docs/advanced/images.en-US 5.03 KB 186.15 KB 53.19% (+/- <0.01%)
/docs/advanced/more/loooooooooooooooooooong-title.en-US 4.83 KB 185.95 KB 53.13% (+/- <0.01%)
/docs/advanced/more/tree/one.en-US 4.79 KB 185.91 KB 53.12% (+/- <0.01%)
/docs/advanced/more/tree/three.en-US 4.74 KB 185.86 KB 53.10% (+/- <0.01%)
/docs/advanced/more/tree/two.en-US 4.79 KB 185.91 KB 53.12% (+/- <0.01%)
/docs/advanced/performance.en-US 7.1 KB 188.22 KB 53.78% (+/- <0.01%)
/docs/advanced/performance.ru 7.91 KB 189.03 KB 54.01% (+/- <0.01%)
/docs/advanced/react-native.en-US 6.66 KB 187.78 KB 53.65% (+/- <0.01%)
/docs/advanced/react-native.ru 7.23 KB 188.35 KB 53.81% (+/- <0.01%)
/docs/advanced/scrollbar-x.en-US 5.74 KB 186.86 KB 53.39% (+/- <0.01%)
/docs/arguments.ru 6.21 KB 187.33 KB 53.52% (+/- <0.01%)
/docs/callout.en-US 4.9 KB 186.02 KB 53.15% (+/- <0.01%)
/docs/change-log.es-ES 10.55 KB 191.67 KB 54.76% (+/- <0.01%)
/docs/conditional-fetching.en-US 5.73 KB 186.85 KB 53.39% (+/- <0.01%)
/docs/conditional-fetching.ru 6.03 KB 187.15 KB 53.47% (+/- <0.01%)
/docs/custom-header-ids.en-US 5.2 KB 186.32 KB 53.24% (+/- <0.01%)
/docs/data-fetching.en-US 6.13 KB 187.25 KB 53.50% (+/- <0.01%)
/docs/data-fetching.es-ES 6.18 KB 187.3 KB 53.51% (+/- <0.01%)
/docs/data-fetching.ru 6.48 KB 187.6 KB 53.60% (+/- <0.01%)
/docs/error-handling.es-ES 7.11 KB 188.23 KB 53.78% (+/- <0.01%)
/docs/error-handling.ru 7.67 KB 188.79 KB 53.94% (+/- <0.01%)
/docs/getting-started.en-US 12.3 KB 193.42 KB 55.26% (+/- <0.01%)
/docs/getting-started.es-ES 11.93 KB 193.05 KB 55.16% (+/- <0.01%)
/docs/getting-started.ru 12.63 KB 193.75 KB 55.36% (+/- <0.01%)
/docs/global-configuration.es-ES 6.07 KB 187.19 KB 53.48% (+/- <0.01%)
/docs/mutation.en-US 7.54 KB 188.66 KB 53.90% (+/- <0.01%)
/docs/mutation.ru 8.3 KB 189.42 KB 54.12% (+/- <0.01%)
/docs/options.es-ES 6.72 KB 187.84 KB 53.67% (+/- <0.01%)
/docs/pagination.en-US 16.99 KB 198.11 KB 56.60% (+/- <0.01%)
/docs/prefetching.en-US 6.21 KB 187.33 KB 53.52% (+/- <0.01%)
/docs/prefetching.es-ES 6.3 KB 187.42 KB 53.55% (+/- <0.01%)
/docs/prefetching.ru 6.72 KB 187.84 KB 53.67% (+/- <0.01%)
/docs/raw-layout.en-US 5.46 KB 186.58 KB 53.31% (+/- <0.01%)
/docs/revalidation.en-US 11.25 KB 192.37 KB 54.96% (+/- <0.01%)
/docs/revalidation.es-ES 11.4 KB 192.52 KB 55.00% (🟡 +0.01%)
/docs/suspense.en-US 6.25 KB 187.37 KB 53.53% (+/- <0.01%)
/docs/suspense.es-ES 6.31 KB 187.43 KB 53.55% (+/- <0.01%)
/docs/suspense.ru 6.68 KB 187.8 KB 53.66% (+/- <0.01%)
/docs/understanding.en-US 12.37 KB 193.49 KB 55.28% (+/- <0.01%)
/docs/understanding.es-ES 12.37 KB 193.49 KB 55.28% (+/- <0.01%)
/docs/understanding.ru 12.36 KB 193.48 KB 55.28% (+/- <0.01%)
/docs/with-nextjs.en-US 6.31 KB 187.43 KB 53.55% (+/- <0.01%)
/docs/with-nextjs.es-ES 6.44 KB 187.56 KB 53.59% (+/- <0.01%)
/docs/with-nextjs.ru 6.83 KB 187.96 KB 53.70% (+/- <0.01%)
/docs/wrap-toc-items.en-US 5.57 KB 186.69 KB 53.34% (+/- <0.01%)
/docs/wrap-toc-items.es-ES 5.56 KB 186.69 KB 53.34% (+/- <0.01%)
/examples/auth.es-ES 5.01 KB 186.13 KB 53.18% (+/- <0.01%)
/examples/auth.ru 5.05 KB 186.17 KB 53.19% (+/- <0.01%)
/examples/basic.en-US 5.01 KB 186.13 KB 53.18% (+/- <0.01%)
/examples/basic.ru 5.05 KB 186.18 KB 53.19% (+/- <0.01%)
/examples/error-handling.en-US 5.02 KB 186.14 KB 53.18% (+/- <0.01%)
/examples/full.en-US 5 KB 186.12 KB 53.18% (+/- <0.01%)
/examples/infinite-loading.en-US 5.03 KB 186.15 KB 53.19% (+/- <0.01%)
/examples/infinite-loading.ru 5.07 KB 186.2 KB 53.20% (+/- <0.01%)
/examples/ssr.ru 5.02 KB 186.14 KB 53.18% (+/- <0.01%)
/index.en-US 8.62 KB 189.74 KB 54.21% (+/- <0.01%)
/index.es-ES 8.39 KB 189.51 KB 54.15% (+/- <0.01%)
/index.ru 8.81 KB 189.93 KB 54.27% (+/- <0.01%)
/remote/[slug] 4.71 KB 185.83 KB 53.09% (+/- <0.01%)
/remote/graphql-eslint/[[...slug]] 4.76 KB 185.88 KB 53.11% (+/- <0.01%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@dimaMachina dimaMachina merged commit 1e9ebab into main May 24, 2023
7 of 8 checks passed
@dimaMachina dimaMachina deleted the remarkLinkRewriteOptions branch May 24, 2023 19:15
filiphuhta pushed a commit to filiphuhta/nextra that referenced this pull request May 25, 2023
tatukoivisto pushed a commit to tatukoivisto/nextra that referenced this pull request Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant