Skip to content

Commit e5c44d8

Browse files
committed
build: add bundle analyzer
1 parent 2196479 commit e5c44d8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/docs/gatsby-config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const config = {
1919
},
2020
pathPrefix: `react/docs/`,
2121
plugins: [
22-
`gatsby-plugin-react-helmet`,
2322
`gatsby-plugin-image`,
2423
{
2524
resolve: `gatsby-source-filesystem`,
@@ -102,6 +101,9 @@ const config = {
102101
id: `GTM-KX4JH47`,
103102
},
104103
},
104+
{
105+
resolve: `gatsby-plugin-webpack-bundle-analyser-v2`,
106+
},
105107
],
106108
}
107109

packages/docs/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,21 @@
3030
"@coreui/icons-react": "^2.3.0",
3131
"@coreui/react-chartjs": "^3.0.0",
3232
"@coreui/utils": "^2.0.2",
33-
"@docsearch/css": "^3.6.2",
33+
"@docsearch/css": "^3.8.1",
34+
"@docsearch/react": "^3.8.1",
3435
"@mdx-js/mdx": "^3.1.0",
3536
"@mdx-js/react": "^3.1.0",
3637
"@stackblitz/sdk": "^1.11.0",
37-
"@types/react-helmet": "^6.1.11",
3838
"gatsby": "^5.13.7",
3939
"gatsby-plugin-google-tagmanager": "^5.13.1",
4040
"gatsby-plugin-image": "^3.13.1",
4141
"gatsby-plugin-manifest": "^5.13.1",
4242
"gatsby-plugin-mdx": "^5.13.1",
4343
"gatsby-plugin-offline": "^6.13.3",
44-
"gatsby-plugin-react-helmet": "^6.13.1",
4544
"gatsby-plugin-sass": "^6.13.1",
4645
"gatsby-plugin-sharp": "^5.13.1",
4746
"gatsby-plugin-sitemap": "^6.13.1",
47+
"gatsby-plugin-webpack-bundle-analyser-v2": "^1.1.32",
4848
"gatsby-remark-autolink-headers": "^6.13.1",
4949
"gatsby-remark-external-links": "^0.0.4",
5050
"gatsby-source-filesystem": "^5.13.1",
@@ -56,7 +56,6 @@
5656
"react": "^18.3.1",
5757
"react-docgen-typescript": "^2.2.2",
5858
"react-dom": "^18.3.1",
59-
"react-helmet": "^6.1.0",
6059
"react-imask": "^7.6.1",
6160
"react-markdown": "^9.0.1",
6261
"rimraf": "^6.0.1",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy