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 10,413 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 04 Dec 2023
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.
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.