1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-23 23:02:58 +00:00

Reworking post-svelte build process for the extension

This commit is contained in:
2024-05-08 01:47:35 +04:00
parent 2ffef5951d
commit 571b8dd575
7 changed files with 351 additions and 146 deletions

11
build-extension.js Normal file
View File

@@ -0,0 +1,11 @@
import {packExtension} from "./.vite/pack-extension.js";
import path from "path";
import {fileURLToPath} from "url";
const __dirname = fileURLToPath(new URL('.', import.meta.url));
void packExtension({
rootDir: __dirname,
exportDir: path.resolve(__dirname, 'build'),
contentScriptsDir: path.resolve(__dirname, 'build', 'content')
});