1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-14 18:44:40 +02:00

Merge pull request #3442 from t-fritsch/allow-theme-subfolders

allow theme subfolders
This commit is contained in:
Hakim El Hattab
2023-08-06 13:33:11 +02:00
committed by GitHub

View File

@@ -164,7 +164,7 @@ function compileSass() {
sass.render({ sass.render({
data: transformedFile.contents.toString(), data: transformedFile.contents.toString(),
includePaths: ['css/', 'css/theme/template'] file: transformedFile.path,
}, ( err, result ) => { }, ( err, result ) => {
if( err ) { if( err ) {
console.log( vinylFile.path ); console.log( vinylFile.path );
@@ -310,7 +310,7 @@ gulp.task('serve', () => {
gulp.watch(['plugin/**/plugin.js', 'plugin/**/*.html'], gulp.series('plugins', 'reload')) gulp.watch(['plugin/**/plugin.js', 'plugin/**/*.html'], gulp.series('plugins', 'reload'))
gulp.watch([ gulp.watch([
'css/theme/source/*.{sass,scss}', 'css/theme/source/**/*.{sass,scss}',
'css/theme/template/*.{sass,scss}', 'css/theme/template/*.{sass,scss}',
], gulp.series('css-themes', 'reload')) ], gulp.series('css-themes', 'reload'))