JSPM

  • Created
  • Published
  • Downloads 156
  • Score
    100M100P100Q73692F
  • License ISC

Extremely ⚠ïļ Fast ⚡ Smart 😊 HTML 🟠 JS ðŸŸĄ CSS ðŸ”ĩ Minification 💠

Package Exports

  • astro-min
  • astro-min/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (astro-min) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

astro-min

Extremely fast and smart HTML + JS + CSS minifier Meticulously optimized for Speed and Effectiveness

Astro Version TS-Standard - TypeScript Standard Style Guide License: MIT

Feature Highlights âœĻ

  • 👟 200x faster processing
  • ðŸŠķ 25% lighter build output
  • ðŸ“Ķ 5kB published package size

Getting started 🚀

Use your package manager of your choice

# NPM
npm run astro add astro-min

# Bun
bun astro add astro-min

# PNPM
pnpm astro add astro-min

# Yarn
yarn astro add astro-min

Manual Installation 🧑‍ðŸ’ŧ

  1. Install package astro-min

  2. Import and add to integrations list

//astro.config.mjs
import { defineConfig } from 'astro/config'
import minify from 'astro-min'

export default defineConfig({
  integrations: [minify()]
})