Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@assetpack/plugin-manifest
Advanced tools
This plugin generates a manifest file so you can easily load your assets in the browser.
This plugin generates a manifest file so you can easily load your assets in the browser.
Right now it only supports generating a PixiJS manifest file for its Assets
loader. See here for more information.
npm install @assetpack/plugin-manifest
import { pixiManifest } from "@assetpack/plugin-manifest";
export default {
...
plugins: {
...
manifest: pixiManifest(),
},
};
In order to generate new bundle entries in the manifest file, you must use the {m}
tag on a folder:
```bash
raw-assets
├── preload{m}
│ └── loader.jpg
└── game{m}
├── char.png
└── pikc.png
This will generate two bundles called preload
and game
in the manifest file.
output
- The path to the manifest file. Defaults to the output folder defined in your config.createShortcuts
- Whether to create shortcuts for each bundle. Defaults to false
. If enabled the manifest will try to create the shortest path for an asset. e.g.{
"alias": ["game/char.png", "game.png"],
"src": ["game/char.png"]
}
trimExtensions
- Whether to trim the extensions from the asset names. Defaults to false
. If enabled the manifest will try to create the shortest path for an asset. e.g.{
"alias": ["game/char.png", "game/char"],
"src": ["game/char.png"]
}
defaultParser
- The default parser to use on a transformed assetparsers
- An array of manifest parsers to use.tags
- An object containing the tags to use for the plugin. Defaults to { m: "m" }
.
m
- The tag to use for generating a bundle entry in the manifest file.FAQs
This plugin generates a manifest file so you can easily load your assets in the browser.
The npm package @assetpack/plugin-manifest receives a total of 381 weekly downloads. As such, @assetpack/plugin-manifest popularity was classified as not popular.
We found that @assetpack/plugin-manifest 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.