diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 9ec6f06..6879b04 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -1,30 +1,29 @@ module hugoplate.netlify.app -go 1.20 +go 1.21 require ( - github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/images v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/modal v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/search v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/tab v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240423040330-6260da698660 // indirect - github.com/gethugothemes/hugo-modules/videos v0.0.0-20240423040330-6260da698660 // indirect - github.com/zeon-studio/hugoplate v0.0.0-20240422031018-f1a3ce07e1d2 // indirect + github.com/gethugothemes/hugo-modules/accordion v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/adsense v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/announcement v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/cookie-consent v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/custom-script v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/preloader v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/render-link v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/components/social-share v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/gallery-slider v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/gzip-caching v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/icons/font-awesome v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/images v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/modal v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/pwa v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/search v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/basic-seo v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/seo-tools/site-verifications v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/button v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/shortcodes/notice v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/tab v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20240504032439-79fc09d96848 // indirect + github.com/gethugothemes/hugo-modules/videos v0.0.0-20240504032439-79fc09d96848 // indirect ) diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js index f9887c5..12a703d 100644 --- a/exampleSite/postcss.config.js +++ b/exampleSite/postcss.config.js @@ -1,45 +1,6 @@ -const purgecss = { - content: ["./hugo_stats.json"], - defaultExtractor: (content) => { - const elements = JSON.parse(content).htmlElements; - return [ - ...(elements.tags || []), - ...(elements.classes || []), - ...(elements.ids || []), - ]; - }, - safelist: [ - /^swiper-/, - /^lb-/, - /^gl/, - /^go/, - /^gc/, - /^gs/, - /^gi/, - /^gz/, - /^gprev/, - /^gnext/, - /^desc/, - /^zoom/, - /^search/, - /^:is/, - /dark/, - /show/, - /dragging/, - /fullscreen/, - /loaded/, - /visible/, - /current/, - /active/, - /mark/, - ], -}; - module.exports = { plugins: { tailwindcss: {}, - "@fullhuman/postcss-purgecss": - process.env.HUGO_ENVIRONMENT === "production" ? purgecss : false, - autoprefixer: process.env.HUGO_ENVIRONMENT === "production" ? {} : false, + autoprefixer: {}, }, }; diff --git a/package.json b/package.json index c92be41..5450bde 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.13.8", + "version": "1.14.0", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -19,15 +19,14 @@ "format": "prettier -w ." }, "devDependencies": { - "@fullhuman/postcss-purgecss": "^5.0.0", "@tailwindcss/forms": "^0.5.7", - "@tailwindcss/typography": "^0.5.12", + "@tailwindcss/typography": "^0.5.13", "autoprefixer": "^10.4.19", "postcss": "^8.4.38", "postcss-cli": "^11.0.0", "prettier": "^3.2.5", "prettier-plugin-go-template": "0.0.15", - "prettier-plugin-tailwindcss": "^0.5.13", + "prettier-plugin-tailwindcss": "^0.5.14", "tailwind-bootstrap-grid": "^5.1.0", "tailwindcss": "^3.4.3" }