mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-18 10:36:52 +03:00
* Add fastfony/tailwind-webpack-encore-pack recipe * apply copilot suggestion
21 lines
570 B
JSON
21 lines
570 B
JSON
{
|
|
"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
|
|
}
|
|
]
|
|
}
|