Add fastfony/tailwind-webpack-encore-pack recipe (#1869)

* Add fastfony/tailwind-webpack-encore-pack recipe

* apply copilot suggestion
This commit is contained in:
neothone
2025-10-20 00:02:02 +04:00
committed by GitHub
parent 51a11dbff2
commit 63763e3e49
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,20 @@
{
"copy-from-recipe": {
"postcss.config.mjs": "postcss.config.mjs"
},
"add-lines": [
{
"file": "webpack.config.js",
"position": "after_target",
"warn_if_missing": true,
"target": " .splitEntryChunks()",
"content": " .enablePostCssLoader()"
},
{
"file": "assets/styles/app.css",
"position": "top",
"content": "@import \"tailwindcss\";\n@source not \"../../public\";\n",
"warn_if_missing": false
}
]
}
@@ -0,0 +1,5 @@
export default {
plugins: {
"@tailwindcss/postcss": {},
},
};