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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user