mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-06-21 18:11:08 +00:00
10 lines
249 B
TypeScript
10 lines
249 B
TypeScript
// @ts-ignore
|
|
const fs = require("fs");
|
|
|
|
function removeExport(file: string) {
|
|
let content = fs.readFileSync(file, "utf8");
|
|
content = content.replace("export {};", "");
|
|
fs.writeFileSync(file, content);
|
|
}
|
|
|
|
removeExport("./dist/js/background.js");
|