|
1 | 1 | # webmanifest loader for webpack [](https://www.npmjs.com/package/webmanifest-loader) [](https://travis-ci.org/unindented/webmanifest-loader)
|
2 | 2 |
|
3 |
| -Parses your [web app manifest](https://www.w3.org/TR/appmanifest/), loading the necessary files from your `icons` and `screenshots` sections, and respecting your `publicPath` configuration. |
| 3 | +Parses your [web app manifest](https://www.w3.org/TR/appmanifest/), loading the necessary files from your `icons` and `screenshots` sections. |
4 | 4 |
|
5 | 5 | It also treats your web app manifest as a `lodash` template, so you can interpolate variables or add any other logic you need.
|
6 | 6 |
|
@@ -136,33 +136,37 @@ $ npm run build
|
136 | 136 | > example@1.0.0 build /Users/daniel/Code/webmanifest-loader/example
|
137 | 137 | > webpack
|
138 | 138 |
|
139 |
| -Hash: 27b5dbf60d53b893f3ee |
140 |
| -Version: webpack 3.0.0 |
141 |
| -Time: 410ms |
| 139 | +Hash: 6988311fefbc63ba7777 |
| 140 | +Version: webpack 4.1.1 |
| 141 | +Time: 390ms |
| 142 | +Built at: 2018-3-13 20:23:05 |
142 | 143 | Asset Size Chunks Chunk Names
|
143 |
| -manifest.webmanifest 566 bytes [emitted] |
144 |
| - icon_144x144.png 0 bytes [emitted] |
145 |
| - icon_192x192.png 0 bytes [emitted] |
146 |
| - screenshot.jpg 0 bytes [emitted] |
| 144 | +manifest.webmanifest 586 bytes [emitted] |
147 | 145 | screenshot@2x.jpg 0 bytes [emitted]
|
148 |
| - app.js 2.5 kB 0 [emitted] app |
149 |
| - index.html 344 bytes [emitted] |
| 146 | + screenshot.jpg 0 bytes [emitted] |
| 147 | + icon_192x192.png 0 bytes [emitted] |
| 148 | + icon_144x144.png 0 bytes [emitted] |
| 149 | + app.js 571 bytes 0 [emitted] app |
| 150 | + index.html 354 bytes [emitted] |
| 151 | +Entrypoint app = app.js |
150 | 152 | [0] ./index.js 22 bytes {0} [built]
|
151 | 153 | Child html-webpack-plugin for "index.html":
|
152 | 154 | Asset Size Chunks Chunk Names
|
153 |
| - manifest.webmanifest 566 bytes [emitted] |
154 |
| - icon_144x144.png 0 bytes [emitted] |
155 |
| - icon_192x192.png 0 bytes [emitted] |
156 |
| - screenshot.jpg 0 bytes [emitted] |
| 155 | + manifest.webmanifest 586 bytes [emitted] |
157 | 156 | screenshot@2x.jpg 0 bytes [emitted]
|
158 |
| - [0] ./node_modules/html-webpack-plugin/lib/loader.js!./assets/template.ejs 779 bytes {0} [built] |
| 157 | + screenshot.jpg 0 bytes [emitted] |
| 158 | + icon_192x192.png 0 bytes [emitted] |
| 159 | + icon_144x144.png 0 bytes [emitted] |
| 160 | + + 1 hidden asset |
| 161 | + Entrypoint undefined = index.html |
| 162 | + [0] ./assets/manifest.webmanifest 66 bytes {0} [built] |
| 163 | + [1] (webpack)/buildin/module.js 519 bytes {0} [built] |
159 | 164 | [2] (webpack)/buildin/global.js 509 bytes {0} [built]
|
160 |
| - [3] (webpack)/buildin/module.js 517 bytes {0} [built] |
161 |
| - [4] ./assets/manifest.webmanifest 66 bytes {0} [built] |
162 |
| - [5] ./assets/icon_144x144.png 62 bytes [built] |
163 |
| - [6] ./assets/icon_192x192.png 62 bytes [built] |
164 |
| - [7] ./assets/screenshot.jpg 60 bytes [built] |
165 |
| - [8] ./assets/screenshot@2x.jpg 63 bytes [built] |
| 165 | + [4] ./node_modules/html-webpack-plugin/lib/loader.js!./assets/template.ejs 779 bytes {0} [built] |
| 166 | + [5] ./assets/screenshot@2x.jpg 63 bytes [built] |
| 167 | + [6] ./assets/screenshot.jpg 60 bytes [built] |
| 168 | + [7] ./assets/icon_192x192.png 62 bytes [built] |
| 169 | + [8] ./assets/icon_144x144.png 62 bytes [built] |
166 | 170 | + 1 hidden module
|
167 | 171 | ```
|
168 | 172 |
|
|
0 commit comments