We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9373a22 commit c3284f6Copy full SHA for c3284f6
packages/@vue/cli-plugin-pwa/lib/HtmlPwaPlugin.js
@@ -185,7 +185,7 @@ module.exports = class HtmlPwaPlugin {
185
if (!isHrefAbsoluteUrl(this.options.manifestPath)) {
186
compiler.hooks.compilation.tap(ID, compilation => {
187
compilation.hooks.processAssets.tap(
188
- {name: ID, stage: 'PROCESS_ASSETS_STAGE_ADDITIONS'},
+ { name: ID, stage: 'PROCESS_ASSETS_STAGE_ADDITIONS' },
189
assets => {
190
const {
191
name,
@@ -203,11 +203,11 @@ module.exports = class HtmlPwaPlugin {
203
)
204
assets[manifestPath] = {
205
source: () => outputManifest,
206
- size: () => outputManifest.length,
207
- };
208
- },
209
- );
210
- });
+ size: () => outputManifest.length
+ }
+ )
+ })
211
}
212
213
0 commit comments