From b582035b7d61c9fd6804396dfe4ba8be6146baf1 Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Thu, 30 Nov 2023 10:04:15 -0500 Subject: [PATCH] build: change buildEnd to closeBundle --- src/utils/plugins/copy-public.ts | 2 +- src/utils/plugins/make-manifest.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/plugins/copy-public.ts b/src/utils/plugins/copy-public.ts index 85ff0383..382f142d 100644 --- a/src/utils/plugins/copy-public.ts +++ b/src/utils/plugins/copy-public.ts @@ -12,7 +12,7 @@ const outDir = resolve(__dirname, "..", "..", "..", outputFolderName); const publicDir = resolve(__dirname, "..", "..", "..", "public"); export default function copyPublic(): PluginOption { return { - buildEnd() { + closeBundle() { for (const browser of browsers) { if (!existsSync(resolve(outDir, browser.name))) { mkdirSync(resolve(outDir, browser.name), { recursive: true }); diff --git a/src/utils/plugins/make-manifest.ts b/src/utils/plugins/make-manifest.ts index 357cc394..2f341877 100644 --- a/src/utils/plugins/make-manifest.ts +++ b/src/utils/plugins/make-manifest.ts @@ -18,7 +18,7 @@ function writeManifest(version: 2 | 3, browserName: string) { } export default function makeManifest(): PluginOption { return { - buildEnd() { + closeBundle() { for (const browser of browsers) { if (!existsSync(resolve(outDir, browser.name))) { mkdirSync(resolve(outDir, browser.name), { recursive: true });