Skip to content

Commit ee796a5

Browse files
committed
Add todo comments
1 parent 587772c commit ee796a5

File tree

8 files changed

+610
-318
lines changed

8 files changed

+610
-318
lines changed

next.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import withLess from "next-with-less"
77
import nextBundleAnalyzer from "@next/bundle-analyzer"
88
import fs from "fs"
99
import rehypeMermaid from "rehype-mermaid"
10+
import withPlaiceholder from "@plaiceholder/next"
1011

1112
import { remarkGraphiQLComment } from "./src/remark-graphiql-comment.js"
1213
import { syntaxHighlightingThemes } from "./src/_design-system/syntax/index.js"
@@ -109,7 +110,6 @@ const config = {
109110

110111
return config
111112
},
112-
// Comment this out if you're working on OG images.
113113
images: {
114114
remotePatterns: [
115115
{
@@ -180,7 +180,9 @@ const withBundleAnalyzer = nextBundleAnalyzer({
180180
enabled: process.env.ANALYZE === "true",
181181
})
182182

183-
export default withBundleAnalyzer(withLess(withNextra(config)))
183+
export default withBundleAnalyzer(
184+
withLess(withNextra(withPlaiceholder(config))),
185+
)
184186

185187
function mermaidConfig() {
186188
return [

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@igorkowalczyk/is-browser": "^5.1.0",
3737
"@lezer/highlight": "^1.2.1",
3838
"@next/bundle-analyzer": "^15.4.5",
39+
"@plaiceholder/next": "^3.0.0",
3940
"@radix-ui/react-radio-group": "^1.2.2",
4041
"@sparticuz/chromium": "^138.0.2",
4142
"@tailwindcss/container-queries": "^0.1.1",

0 commit comments

Comments
 (0)