Skip to content

Commit 5f09bcd

Browse files
committed
Remove react-bootstrap and configure purgecss
1 parent f239067 commit 5f09bcd

File tree

9 files changed

+3487
-536
lines changed

9 files changed

+3487
-536
lines changed

Diff for: gatsby-browser.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "./src/scss/site.scss"

Diff for: gatsby-config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ const config: GatsbyConfig = {
1313
// Learn more at: https://gatsby.dev/graphql-typegen
1414
graphqlTypegen: true,
1515
plugins: ["gatsby-plugin-sass", "gatsby-plugin-image", "gatsby-plugin-sharp", "gatsby-transformer-sharp", {
16+
resolve: `gatsby-plugin-purgecss`,
17+
options: {
18+
printRejected: true, // Print removed selectors and processed file names
19+
develop: true // Enable while using `gatsby develop`
20+
},
21+
}, {
1622
resolve: 'gatsby-plugin-manifest',
1723
options: {
1824
"icon": "src/images/profile.png"

0 commit comments

Comments
 (0)