From 56544f9e8606bc4b1273fb8872ca20e25d1bb10f Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Mon, 31 Jul 2023 10:16:53 +0600 Subject: [PATCH] fixed tailwind class not reflecting when using in markup --- exampleSite/content/english/pages/search.md | 9 --------- exampleSite/hugo.toml | 14 +++++++------- package.json | 2 +- 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 100755 exampleSite/content/english/pages/search.md diff --git a/exampleSite/content/english/pages/search.md b/exampleSite/content/english/pages/search.md deleted file mode 100755 index 81d4a88..0000000 --- a/exampleSite/content/english/pages/search.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: "Elements" -# meta title -layout: "search" -# meta description -description: "This is meta description" -# save as draft -draft: false ---- \ No newline at end of file diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index abeda7a..019157e 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -43,14 +43,14 @@ useResourceCacheWhen = 'fallback' [build.buildStats] enable = true [[build.cachebusters]] -source = 'assets/.*\.(js|ts|jsx|tsx)' -target = '(js|scripts|javascript)' -[[build.cachebusters]] -source = 'assets/.*\.(css|sass|scss)$' -target = '(css|styles|scss|sass)' +source = 'assets/watching/hugo_stats\.json' +target = 'style\.css' [[build.cachebusters]] source = '(postcss|tailwind)\.config\.js' -target = '(css|styles|scss|sass)' +target = 'css' +[[build.cachebusters]] +source = 'assets/.*\.(js|ts|jsx|tsx)' +target = 'js' [[build.cachebusters]] source = 'assets/.*\.(.*)$' target = '$1' @@ -65,7 +65,7 @@ home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"] # See https://github.com/disintegration/imaging # Default JPEG or WebP quality setting. Default is 75. quality = 90 -resampleFilter = "lanczos" +resampleFilter = "Lanczos" ############################ Caches ############################## [caches] diff --git a/package.json b/package.json index e263c90..682f75e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.7.0", + "version": "1.7.1", "license": "MIT", "author": "zeon.studio", "scripts": {