mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 03:26:23 +03:00
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"bundles": {
|
|
"Symfonycasts\\SassBundle\\SymfonycastsSassBundle": ["all"]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"assets/": "assets/"
|
|
},
|
|
"aliases": ["symfonycasts_sass"],
|
|
"gitignore": [
|
|
"/%PUBLIC_DIR%/assets/"
|
|
],
|
|
"add-lines": [
|
|
{
|
|
"requires": "symfony/asset-mapper",
|
|
"file": "config/packages/asset_mapper.yaml",
|
|
"position": "after_target",
|
|
"warn_if_missing": true,
|
|
"target": " missing_import_mode: strict",
|
|
"content": [
|
|
" excluded_patterns:",
|
|
" - '**/assets/styles/*/_*.scss'"
|
|
]
|
|
},
|
|
{
|
|
"file": ".symfony.local.yaml",
|
|
"content": [
|
|
" # Watch and build Sass files",
|
|
" sass:",
|
|
" cmd: ['symfony', 'console', 'sass:build', '--watch']"
|
|
],
|
|
"position": "after_target",
|
|
"target": "workers:",
|
|
"warn_if_missing": true
|
|
}
|
|
],
|
|
"conflict": {
|
|
"symfony/asset-mapper": "<6.3"
|
|
}
|
|
}
|