Skip to content

node 18, add avif, webp support, declare @babel/runtime as a dependency#446

Open
exarus wants to merge 1 commit intosalomonelli:masterfrom
exarus:node-18-avif-webp
Open

node 18, add avif, webp support, declare @babel/runtime as a dependency#446
exarus wants to merge 1 commit intosalomonelli:masterfrom
exarus:node-18-avif-webp

Conversation

@exarus
Copy link
Copy Markdown

@exarus exarus commented Nov 27, 2024

  • Upgrade to Node 18. Node 14 is officially long dead. You have to use --openssl-legacy-provider option to make it work
  • I tried to use project with pnpm and it has errors unless @babel/runtime is explicitly defined. I believe, because @babel/runtime is a real dependency and is really injected by babel - it would be nice to explicitly declare that this package is injected into code. It's a runtime dependency, not build time, thus adding it to dependencies object rather than devDependencies
  • Add webp and avif images support. Very common format nowadays: avif, webp

@exarus exarus changed the title node 18, add avif, webp support node 18, add avif, webp support, declare @babel/runtime as a dependency Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant