1.0.5 • Published 8 years ago

pwa-manifest-webpack-plugin v1.0.5

Weekly downloads
42
License
MIT
Repository
github
Last release
8 years ago

pwa-manifest-webpack-plugin

generating manifest.json for pwa app

use

npm i pwa-manifest-webpack-plugin --save-dev
const PwaManifestWebpackPlugin = require('pwa-manifest-webpack-plugin');

plugins: [
  new PwaManifestWebpackPlugin({
    name: 'Todos',
    description: 'a todo demo of pwa',
    icon: {
      src: path.resolve('src/images/icon.jpg'),
      sizes: [36, 48]
    }
  })
]

output manifest.json:

{
  "orientation": "portrait",
  "display": "standalone",
  "icons": [
    {
      "src": "icon_48x48.jpeg",
      "sizes": "48x48",
      "type": "image/jpeg"
    },
    {
      "src": "icon_36x36.jpeg",
      "sizes": "36x36",
      "type": "image/jpeg"
    }
  ],
  "name": "Todos",
  "description": "a todo demo of pwa"
}
1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago