From 979233f82f9bc2d3ff84379fc5e98edef425a7d2 Mon Sep 17 00:00:00 2001 From: Damillora Date: Sun, 1 Nov 2020 01:38:51 +0700 Subject: [PATCH] Get some optimizations going --- default.hbs | 9 ++++++++- gulpfile.js | 15 --------------- partials/post-background.hbs | 6 ------ tailwind.config.js | 9 +++++++++ 4 files changed, 17 insertions(+), 22 deletions(-) diff --git a/default.hbs b/default.hbs index 5af8089..c4ed7d2 100644 --- a/default.hbs +++ b/default.hbs @@ -8,8 +8,15 @@ - + + + + + + + + {{ghost_head}} diff --git a/gulpfile.js b/gulpfile.js index 97474a1..4d0c95d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -7,20 +7,6 @@ const concat = require('gulp-concat'); const uglify = require('gulp-uglify'); const cleancss = require('gulp-clean-css'); -const purgecss = require('@fullhuman/postcss-purgecss')({ - - // Specify the paths to all of the template files in your project - content: [ - './**/*.hbs', - './assets/**/*.js', - './assets/css/styles.css', // This file defines required styles for the Ghost editor - // etc. - ], - - // Include any special characters you're using in this regular expression - defaultExtractor: content => content.match(/[\w-/:]+(?
diff --git a/tailwind.config.js b/tailwind.config.js index 4ac325e..eede1e0 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,13 @@ module.exports = { + purge: { + enabled: true, + content: [ + './**/*.hbs', + './assets/**/*.js', + './assets/css/styles.css', // This file defines required styles for the Ghost editor + // etc. + ], + }, theme: { extend: { colors: {