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.
This commit is contained in:
tfsumon 2024-10-02 13:13:39 +06:00
parent 65ea3ca8db
commit 576873cfdc
2 changed files with 7 additions and 7 deletions

View File

@ -1,6 +0,0 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.16.1", "version": "1.17.0",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {
@ -29,5 +29,11 @@
"prettier-plugin-tailwindcss": "^0.6.8", "prettier-plugin-tailwindcss": "^0.6.8",
"tailwind-bootstrap-grid": "^5.1.0", "tailwind-bootstrap-grid": "^5.1.0",
"tailwindcss": "^3.4.13" "tailwindcss": "^3.4.13"
},
"postcss": {
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
} }
} }