From 8489d3cc17fa2f87fcbfe8083295466a21c07af7 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Sat, 3 Aug 2024 11:38:13 +0200 Subject: [PATCH] chore: remove unneeded var --- index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 408e89a..ee432f4 100644 --- a/index.js +++ b/index.js @@ -12,8 +12,6 @@ import { randomUUID } from "node:crypto"; * @typedef {import('astro').AstroIntegration} AstroIntegration */ -const plugin_dir = path.resolve(path.dirname('.')); - /** * Accepts configuration options with service worker path * and injects needed variables such as `assets` generated by Astro @@ -60,4 +58,4 @@ export default function serviceWorker(config) { } } } -}; \ No newline at end of file +};