diff --git a/symfonycasts/sass-bundle/0.5/assets/styles/app.scss b/symfonycasts/sass-bundle/0.5/assets/styles/app.scss new file mode 100644 index 000000000..a35ce1749 --- /dev/null +++ b/symfonycasts/sass-bundle/0.5/assets/styles/app.scss @@ -0,0 +1,3 @@ +body { + background-color: skyblue; +} diff --git a/symfonycasts/sass-bundle/0.5/config/packages/symfonycasts_sass.yaml b/symfonycasts/sass-bundle/0.5/config/packages/symfonycasts_sass.yaml new file mode 100644 index 000000000..74e437503 --- /dev/null +++ b/symfonycasts/sass-bundle/0.5/config/packages/symfonycasts_sass.yaml @@ -0,0 +1,3 @@ +symfonycasts_sass: + root_sass: + - 'assets/styles/app.scss' diff --git a/symfonycasts/sass-bundle/0.5/manifest.json b/symfonycasts/sass-bundle/0.5/manifest.json new file mode 100644 index 000000000..a7d1cab3c --- /dev/null +++ b/symfonycasts/sass-bundle/0.5/manifest.json @@ -0,0 +1,25 @@ +{ + "bundles": { + "Symfonycasts\\SassBundle\\SymfonycastsSassBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "assets/": "assets/" + }, + "aliases": ["symfonycasts_sass"], + "gitignore": [ + "/%PUBLIC_DIR%/assets/" + ], + "add-lines": [ + { + "file": "config/packages/asset_mapper.yaml", + "content": "\n excluded_patterns:\n - '*/assets/styles/_*.scss'\n - '*/assets/styles/**/_*.scss'", + "position": "bottom", + "requires": "symfony/asset-mapper", + "warn_if_missing": true + } + ], + "conflict": { + "symfony/asset-mapper": "<6.3" + } +}