Feature/webpack integration (#9)

* working webpack into template

* removing package-lock.json

* implementing source
This commit is contained in:
Jonas Pfalzgraf 2023-01-23 14:44:47 +01:00 committed by GitHub
parent 2b9595746b
commit 69b5363c88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 208 additions and 501 deletions

9
tools/clean.ts Normal file
View 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");