mail und logging

This commit is contained in:
Bastian Wagner
2026-07-17 11:50:12 +02:00
parent 201c4e03f8
commit edd88acd98
45 changed files with 1413 additions and 42 deletions

View File

@@ -0,0 +1,13 @@
const { cpSync, existsSync, mkdirSync, rmSync } = require('node:fs');
const { join } = require('node:path');
const source = join(__dirname, '..', 'src', 'mail', 'templates');
const destination = join(__dirname, '..', 'dist', 'mail', 'templates');
if (!existsSync(source)) {
throw new Error(`Mail template source directory not found: ${source}`);
}
rmSync(destination, { recursive: true, force: true });
mkdirSync(destination, { recursive: true });
cpSync(source, destination, { recursive: true });