const fs = require('fs');
const path = require('path');

const dir = './dist/data';
if (fs.existsSync(dir)) {
    const files = fs.readdirSync(dir);
    console.log("Files in data folder:", files);
    files.forEach(f => {
        const stats = fs.statSync(path.join(dir, f));
        console.log(`${f}: ${stats.size} bytes`);
    });
} else {
    console.log("Data folder does not exist");
}
