@jcayzac/astro-minify-html
v1.0.1
Published
Minifies Astro's generated HTML, including inline scripts & styles.
Downloads
16
Maintainers
Readme
@jcayzac/astro-minify-html
Minifies Astro's generated HTML, including inline scripts & styles.
Installation
# pnpm
pnpm add @jcayzac/astro-minify-html
# bun
bunx add @jcayzac/astro-minify-html
# npm
npx add @jcayzac/astro-minify-html
# yarn
yarn add @jcayzac/astro-minify-html
# deno
deno add npm:@jcayzac/astro-minify-html
Usage
Add the integration to your configuration file:
import minifyHtml from '@jcayzac/astro-minify-html'
import { defineConfig } from 'astro/config'
export default defineConfig({
integrations: [
minifyHtml(),
],
// …other options
})
Like it? Buy me a coffee!
If you like anything here, consider buying me a coffee using one of the following platforms: