🗜️ AstroJS compression utilities. Compress HTML, CSS, JavaScript and more!
Package Exports
astro-compress
astro-compress/Target/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-compress) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Related
astro-critters 🦔 AstroJS GoogleChromeLabs critters integration. Inline your critical CSS with Astro.
astro-rome 🏛️ AstroJS Rome tools. Format, lint and check your Astro website with Rome.
import Compress from"astro-compress";exportdefault{
integrations:[Compress({
Path:[// Compress Target"./Target",// Compress Target one more time into a different directorynewMap([["./Target","./TargetCompress"]]),],}),],};
You can provide a filter to exclude files in your build. A filter can be an array of regexes or a single match. You can use functions, as well to match on file names.