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