Skip to content

Commit

Permalink
update so the jszip is included in the build step, this allows us to …
Browse files Browse the repository at this point in the history
…use it in background.js
  • Loading branch information
= committed Dec 20, 2022
1 parent 57dcf51 commit 41d1ef0
Show file tree
Hide file tree
Showing 4 changed files with 11,594 additions and 0 deletions.
1 change: 1 addition & 0 deletions platform_spec/firefox/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"background": {
"scripts": [
"jszip.min.js",
"background.js"
]
},
Expand Down
3 changes: 3 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ async function run_build(type, commit_number) {
console.log(`[FastForward.build.${type}] copying PRIVACY.md to ${destination}`);
fs.copyFileSync(`${working_directory}/PRIVACY.md`, `${destination}/PRIVACY.md`);

console.log(`[FastForward.build.${type}] copying jszip.min.js to ${destination}`);
fs.copyFileSync(`${working_directory}/src/external/jszip.min.js`, `${destination}/jszip.min.js`);

console.log(`[FastForward.build.${type}] copying manifest to ${destination}`);
fs.copyFileSync(`${working_directory}/platform_spec/${type}/manifest.json`, `${destination}/manifest.json`);

Expand Down
Loading

0 comments on commit 41d1ef0

Please sign in to comment.