We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c339e49 commit 3571342Copy full SHA for 3571342
gatsby-config.ts
@@ -102,7 +102,7 @@ module.exports = {
102
markdownCaptions: true,
103
backgroundColor: "transparent",
104
linkImagesToOriginal: false,
105
- withWebp: true,
+ withWebp: true, // WebP 변환 활성화
106
},
107
108
{
@@ -121,7 +121,22 @@ module.exports = {
121
122
123
`gatsby-remark-prismjs`,
124
- `gatsby-remark-copy-relative-linked-files`,
+ {
125
+ resolve: `gatsby-remark-copy-relative-linked-files`,
126
+ options: {
127
+ // 이미지 파일은 gatsby-remark-images가 처리하도록 제외
128
+ ignoreFileExtensions: [
129
+ `png`,
130
+ `jpg`,
131
+ `jpeg`,
132
+ `bmp`,
133
+ `tiff`,
134
+ `webp`,
135
+ `gif`,
136
+ `svg`,
137
+ ],
138
+ },
139
140
],
141
142
0 commit comments