En cours...

This commit is contained in:
2025-09-16 10:21:01 +02:00
parent abf8f1894e
commit a1e977dbd0
140 changed files with 3861 additions and 0 deletions

14
scripts/clearModules.js Normal file
View File

@@ -0,0 +1,14 @@
const fs = require("fs");
const clearModules = (filePath) => {
if (fs.existsSync(filePath)) {
let fileContent = fs.readFileSync(filePath, "utf8");
fileContent = fileContent.replace(/require\s*\([\s\S]*?\)/, "");
fs.writeFileSync(filePath, fileContent, "utf8");
} else {
console.log("File does not exist.");
}
};
clearModules("go.mod");
clearModules("exampleSite/go.mod");