1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-29 09:19:57 +02:00

refactored tests

This commit is contained in:
Hakim El Hattab
2024-11-06 11:11:26 +01:00
parent f8a33e1929
commit 1b075c8aa8
21 changed files with 4062 additions and 4191 deletions

View File

@@ -6,6 +6,7 @@ import fs from 'fs';
const themeFiles = fs
.readdirSync(resolve(__dirname, 'css/theme'))
.filter((file) => file.endsWith('.scss'));
const themeEntries = themeFiles.reduce((acc, file) => {
acc[`theme/${file.replace('.scss', '')}`] = resolve(__dirname, `css/theme/${file}`);
return acc;