Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ export function mySvgOptimizer(options?: Options): SvgOptimizer {

<p>

**타입:** `(contents: string) => string | Promise<string>`
**타입:** `(contents: string, path: string) => string | Promise<string>`
</p>

SVG 내용을 처리합니다.
지정된 파일 경로의 SVG 내용을 처리합니다. 최적화 도구는 이 경로를 사용해 파일별 값을 파생할 수 있습니다. 예를 들어 SVGO의 `prefixIds` 플러그인은 이 경로를 사용해 각 파일에 고유한 ID 접두사를 생성합니다.

## 동작 방식

Expand Down
Loading