Skip to main content
This release is 2 versions behind 1.0.3 — the latest version of @vite-plugin/compress-png. Jump to latest

Built and signed on GitHub Actions

vite 插件,用于压缩 png 格式的图片

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
JSR Score
94%
Published
3 months ago (1.0.0)

介绍

这是一款 vite 插件,用于压缩 png 格式的图片

Examples

Example 1

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@vite-plugin/compress-png

Import symbol

import * as mod from "@vite-plugin/compress-png";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@vite-plugin/compress-png";

Add Package

npx jsr add @vite-plugin/compress-png

Import symbol

import * as mod from "@vite-plugin/compress-png";

Add Package

yarn dlx jsr add @vite-plugin/compress-png

Import symbol

import * as mod from "@vite-plugin/compress-png";

Add Package

pnpm dlx jsr add @vite-plugin/compress-png

Import symbol

import * as mod from "@vite-plugin/compress-png";