importCompressfrom"astro-compress";
exportdefault {
integrations: [
Compress({
Path: [
// Compress Target"./Target",
// Compress Target one more time into a different directorynewMap([["./Target", "./TargetCompress"]]),
],
}),
],
};
File Filtering
You can filter files to exclude specific ones from compression. A filter can be
an array of regular expressions or a single match. You can also use functions to
match on file names:
You can control the logging level by setting the Logger parameter. The default
value is 2, but you can set it to 0 if you don't want to see debug messages:
The npm package astro-compress receives a total of 11,179 weekly downloads. As such, astro-compress popularity was classified as popular.
We found that astro-compress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 0 open source maintainers collaborating on the project.
Package last updated on 05 Jan 2024
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
By Kirill Boychenko, Peter van der Zeeย - ย Jan 29, 2025