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:
11
build-extension.js
Normal file
11
build-extension.js
Normal 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')
|
||||
});
|
||||
Reference in New Issue
Block a user