From 576873cfdc4220c7a46477cceb6b902cd7972d0e Mon Sep 17 00:00:00 2001 From: tfsumon Date: Wed, 2 Oct 2024 13:13:39 +0600 Subject: [PATCH] enhance: move PostCSS config to package.json for better Windows compatibility - For Windows users, if the path to the project contains spaces, the PostCSS configuration must be placed within the package.json file to ensure proper functionality. - Fixes #150 issue. --- exampleSite/postcss.config.js | 6 ------ package.json | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 exampleSite/postcss.config.js diff --git a/exampleSite/postcss.config.js b/exampleSite/postcss.config.js deleted file mode 100644 index 12a703d..0000000 --- a/exampleSite/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/package.json b/package.json index f439481..6fcc13e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hugoplate", "description": "hugo tailwindcss boilerplate", - "version": "1.16.1", + "version": "1.17.0", "license": "MIT", "author": "zeon.studio", "scripts": { @@ -29,5 +29,11 @@ "prettier-plugin-tailwindcss": "^0.6.8", "tailwind-bootstrap-grid": "^5.1.0", "tailwindcss": "^3.4.13" + }, + "postcss": { + "plugins": { + "tailwindcss": {}, + "autoprefixer": {} + } } }