From ca8ce7fe92711cd594d63c0c7939ed1a2d4992d1 Mon Sep 17 00:00:00 2001 From: somrat sorkar Date: Thu, 17 Aug 2023 14:05:08 +0600 Subject: [PATCH] fixed css not generating on scss build --- exampleSite/hugo.toml | 3 +++ package.json | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 019157e..fca378e 100755 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -52,6 +52,9 @@ target = 'css' source = 'assets/.*\.(js|ts|jsx|tsx)' target = 'js' [[build.cachebusters]] +source = 'assets/.*\.(css|scss|sass)' +target = 'css' +[[build.cachebusters]] source = 'assets/.*\.(.*)$' target = '$1' diff --git a/package.json b/package.json index 53a9745..844dfce 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.7.2", + "version": "1.7.3", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -21,12 +21,12 @@ "@fullhuman/postcss-purgecss": "^5.0.0", "@tailwindcss/forms": "^0.5.4", "@tailwindcss/typography": "^0.5.9", - "autoprefixer": "^10.4.14", - "postcss": "^8.4.27", + "autoprefixer": "^10.4.15", + "postcss": "^8.4.28", "postcss-cli": "^10.1.0", - "prettier": "^3.0.1", + "prettier": "^3.0.2", "prettier-plugin-go-template": "0.0.15", - "prettier-plugin-tailwindcss": "^0.5.2", + "prettier-plugin-tailwindcss": "^0.5.3", "tailwind-bootstrap-grid": "^5.0.1", "tailwindcss": "^3.3.3" }