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
|
8 | npm install --save-dev @packmule/manifest-pack
|
9 | ```
|
10 |
|
11 | ## API
|
12 |
|
13 | ```ts
|
14 | ManifestPack(options: ManifestPlugin.ManifestOptions)
|
15 | ```
|
16 |
|
17 | ## Usage
|
18 |
|
19 | **Example**
|
20 |
|
21 | Generate a basic web app manifest using the [`webpack-pwa-manifest`](https://www.npmjs.com/package/webpack-pwa-manifest) plugin internally.
|
22 |
|
23 | ```ts
|
24 | import Packmule from '@packmule/core';
|
25 | import ManifestPack from '@packmule/manifest-pack';
|
26 |
|
27 | const packmule = new Packmule();
|
28 | packmule.register(
|
29 | new ManifestPack({
|
30 | name: 'Web Application',
|
31 | short_name: 'App',
|
32 | }),
|
33 | );
|
34 | return 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/)
|