mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 16:10:10 +00:00
Version 1.4.0 (#10)
* Feature/webpack integration (#9) * working webpack into template * removing package-lock.json * implementing source * style update
This commit is contained in:
parent
241d3d02c6
commit
2319a1fd9b
15 changed files with 217 additions and 766 deletions
9
tools/clean.ts
Normal file
9
tools/clean.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import * as fs from "fs";
|
||||
|
||||
function removeExport(file: string) {
|
||||
let content = fs.readFileSync(file, "utf8");
|
||||
content = content.replace("export {};", "");
|
||||
fs.writeFileSync(file, content);
|
||||
}
|
||||
|
||||
removeExport("./dist/js/background.js");
|
Loading…
Add table
Add a link
Reference in a new issue