Skip to content

Commit

Permalink
build: change buildEnd to closeBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
VampireChicken12 committed Nov 30, 2023
1 parent 6b3993a commit b582035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/plugins/copy-public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion src/utils/plugins/make-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit b582035

Please sign in to comment.