Skip to content

Commit

Permalink
feat(turbopack-image): enable gif support (vercel/turborepo#5174)
Browse files Browse the repository at this point in the history
### Description

minor featature to enable gif support.
  • Loading branch information
kwonoj authored Jun 2, 2023
1 parent ce2fd26 commit 7a32cec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/turbopack-image/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ autobenches = false
bench = false

[features]
# [NOTE]: Before enable this, ensure this can build all of the target platforms we support.
avif = ["image/avif-decoder", "image/avif-encoder"]
webp = ["image/webp", "image/webp-encoder"]

[dependencies]
anyhow = { workspace = true }
base64 = "0.21.0"
image = { workspace = true, default-features = false, features = [
"gif",
"png",
"jpeg",
"ico",
Expand Down

0 comments on commit 7a32cec

Please sign in to comment.