mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-06-21 18:11:08 +00:00
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
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");
|