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
Installation 🚀
Use the 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 🧑💻
Install package
astro-min
Import and add to integrations list
//astro.config.mjs
import { defineConfig } from 'astro/config'
import minify from 'astro-min'
export default defineConfig({
integrations: [minify()]
})