diff --git a/zotero-plugin.config.ts b/zotero-plugin.config.ts index 6db00b5..a7b8077 100644 --- a/zotero-plugin.config.ts +++ b/zotero-plugin.config.ts @@ -1,6 +1,6 @@ import { defineConfig } from "zotero-plugin-scaffold"; import pkg from "./package.json"; -import { copyFileSync, readdirSync, renameSync, mkdirSync } from "fs"; +import { copyFileSync, readdirSync, renameSync, mkdirSync, cpSync } from "fs"; import fse from "fs-extra"; import { replaceInFileSync } from "zotero-plugin-scaffold/tools"; @@ -106,6 +106,11 @@ export default defineConfig({ "Local-Citation-Network/index.html", "build/addon/chrome/content/Local-Citation-Network/index.html", ); + cpSync( + "Local-Citation-Network/lib", + "build/addon/chrome/content/Local-Citation-Network/lib", + { recursive: true }, + ); }, }, // If you want to checkout update.json into the repository, uncomment the following lines: