Created
July 15, 2022 21:20
-
-
Save willtate/709bc3f6293746502459ce52b7d4238f to your computer and use it in GitHub Desktop.
Foundation gulp add table roles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function inline() { | |
return gulp.src('dist/**/*.html') | |
.pipe($.if(PRODUCTION, $.replace('<table', '<table role="presentation"'))) //bingo bango | |
.pipe($.if(PRODUCTION, inliner('dist/css/app.css'))) | |
.pipe(gulp.dest('dist')); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment