chore: initial project commit
This commit is contained in:
28
zotero-plugin.config.ts
Normal file
28
zotero-plugin.config.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
import { defineConfig } from "zotero-plugin-scaffold";
|
||||
import pkg from "./package.json";
|
||||
|
||||
export default defineConfig({
|
||||
source: ["src", "addon"],
|
||||
dist: ".scaffold/build",
|
||||
name: pkg.config.addonName,
|
||||
id: pkg.config.addonID,
|
||||
namespace: pkg.config.addonRef,
|
||||
build: {
|
||||
esbuildOptions: [
|
||||
{
|
||||
entryPoints: ["src/index.ts"],
|
||||
bundle: true,
|
||||
target: "firefox128",
|
||||
outfile: ".scaffold/build/addon/content/scripts/index.js",
|
||||
},
|
||||
],
|
||||
},
|
||||
server: {
|
||||
asProxy: true,
|
||||
},
|
||||
release: {
|
||||
bumpp: {
|
||||
execute: "npm run build",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user