UNPKG

ap-ssg

Version:

A fast, modular, SEO-optimized static site generator that minifies CSS, JS, and HTML for improved performance. It also supports JSON-LD, sitemap generation, and more, making it ideal for production-ready websites.

17 lines (12 loc) 384 B
const fs = require("fs-extra"); const { getBuildServiceWorkerFilePath, getBuildManifestFilePath, } = require("../configs/paths"); function removeSWandManifest() { const swPath = getBuildServiceWorkerFilePath(); const manifestPath = getBuildManifestFilePath(); fs.removeSync(swPath); fs.removeSync(manifestPath); } module.exports = removeSWandManifest;