1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-20 11:51:28 +02:00

feat(admin-plugin): add .php for gulpfile.js #211

This commit is contained in:
Awilum
2020-01-24 14:10:45 +03:00
parent d2d3644274
commit 4d23a37ea0

View File

@@ -30,11 +30,11 @@ gulp.task("css", function() {
.pipe(postcss([atimport(), tailwindcss(tailwindConfig)]))
.pipe(
purgecss({
content: ["**/*.html", "../../**/*.md"],
content: ["**/*.php", "**/*.html", "../../**/*.md"],
extractors: [
{
extractor: TailwindExtractor,
extensions: ["html", "md"]
extensions: ["html", "md", 'php']
}
]
})
@@ -51,5 +51,5 @@ gulp.task("css", function() {
});
gulp.task('watch', function () {
gulp.watch(["**/*.html", "../../**/*.md", "assets/src/"], gulp.series('css'));
gulp.watch(["**/*.php", "**/*.html", "../../**/*.md", "assets/src/"], gulp.series('css'));
});