UNPKG

867 BMarkdownView Raw
1# Manifest Pack
2
3> Generate a [web app manifest](https://developer.mozilla.org/en-US/docs/Web/Manifest).
4
5## Setup
6
7```bash
8npm install --save-dev @packmule/manifest-pack
9```
10
11## API
12
13```ts
14ManifestPack(options: ManifestPlugin.ManifestOptions)
15```
16
17## Usage
18
19**Example**
20
21Generate a basic web app manifest using the [`webpack-pwa-manifest`](https://www.npmjs.com/package/webpack-pwa-manifest) plugin internally.
22
23```ts
24import Packmule from '@packmule/core';
25import ManifestPack from '@packmule/manifest-pack';
26
27const packmule = new Packmule();
28packmule.register(
29 new ManifestPack({
30 name: 'Web Application',
31 short_name: 'App',
32 }),
33);
34return packmule.generate();
35```
36
37## License
38
39[MIT](https://choosealicense.com/licenses/mit/)
40
41---
42
43[<img src="https://www.pixelart.at/fileadmin/images/logo-new/logo.svg" width="150">](https://www.pixelart.at/)