
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
@assetpack/plugin-mipmap
Advanced tools
AssetPack plugin for generating mipmaps By default this plugin will generate `@1x` and `@0.5x` resolutions for all images.
AssetPack plugin for generating mipmaps
By default this plugin will generate @1x
and @0.5x
resolutions for all images.
This plugin also supports generating mipmaps for Spine atlas files with the spineAtlasMipmap
plugin.
npm install --save-dev @assetpack/plugin-mipmap
import { mipmap, spineAtlasMipmap } from "@assetpack/plugin-mipmap";
export default {
...
plugins: {
...
mipmap: mipmap(),
spine: spineAtlasMipmap(),
},
};
template
: A template for denoting the resolution of the images. Defaults to @%%x
. Note you must use %%
to denote the resolution.resolutions
: An object containing the resolutions that the images will be resized to. Defaults to { default: 1, low: 0.5 }
.fixedResolution
: A resolution used if the fix tag is applied e.g. path/to/image{fix}.png
or path/to{fix}
. Resolution must match one found in resolutions. Defaults to default
.tags
- An object containing the tags to use for the plugin. Defaults to { fix: "fix" }
.FAQs
AssetPack plugin for generating mipmaps By default this plugin will generate `@1x` and `@0.5x` resolutions for all images.
The npm package @assetpack/plugin-mipmap receives a total of 116 weekly downloads. As such, @assetpack/plugin-mipmap popularity was classified as not popular.
We found that @assetpack/plugin-mipmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.