Skip to content

A rust plugin for farm to convert your webp to png, and compress all the png.

Notifications You must be signed in to change notification settings

Weeken/farm-plugin-webp-to-png

Repository files navigation

farm-plugin-webp-to-png

A rust plugin for farm to automatically convert your webp to png, and compress all the png.

You don't need to change anything in your code, the plugin can automatically replace all the .webp to .png.

Install

pnpm add -D farm-plugin-webp-to-png

Usage

import { defineConfig } from "@farmfe/core";
import webpToPng from 'farm-plugin-webp-to-png';

export default defineConfig({
  plugins: [
    webpToPng()
  ],
});

About

A rust plugin for farm to convert your webp to png, and compress all the png.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published