message: fix(pwa2): workaround for beta50 issue
diff: @@ -45,7 +45,9 @@ export const generateServiceWorker = async (
  const swDest = dest("service-worker.js");
  const destDir = path.relative(process.cwd(), dest());
  - const globPatterns = ["**/*.{js,css,svg,woff,woff2,eot,ttf,otf}"];
  + // FIXME: vuepress2beta50 has a bug that output app.js as app.mjs,
  + // this shoud be removed after vuepress2 release beta51
  + const globPatterns = ["**/*.{js,mjs,css,svg,woff,woff2,eot,ttf,otf}"];
  if (options.cacheHTML) globPatterns.push("**/*.html");
  else globPatterns.push("./index.html", "./404.html");
  