Skip to content

Commit

Permalink
Also copy LCN lib folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic-DallOsto committed Aug 19, 2024
1 parent 2c81f9f commit d4de323
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion zotero-plugin.config.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d4de323

Please sign in to comment.