Skip to content

Commit f426f58

Browse files
committed
Add recipes for symfonycasts/sass-bundle
1 parent 7d2f5aa commit f426f58

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
background-color: skyblue;
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
symfonycasts_sass:
2+
root_sass:
3+
- 'assets/styles/app.scss'
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"bundles": {
3+
"SymfonyCasts\\SassBundle\\SymfonycastsSassBundle": ["all"]
4+
},
5+
"copy-from-recipe": {
6+
"config/": "%CONFIG_DIR%/",
7+
"assets/": "assets/"
8+
},
9+
"aliases": ["symfonycasts_sass"],
10+
"gitignore": [
11+
"/%PUBLIC_DIR%/assets/"
12+
],
13+
"add-lines": [
14+
{
15+
"file": "config/packages/asset_mapper.yaml",
16+
"content": "\n excluded_patterns:\n - '*/assets/styles/_*.scss'\n - '*/assets/styles/**/_*.scss'",
17+
"position": "bottom",
18+
"requires": "symfony/asset-mapper",
19+
"warn_if_missing": true
20+
}
21+
],
22+
"conflict": {
23+
"symfony/asset-mapper": "<6.3"
24+
}
25+
}

0 commit comments

Comments
 (0)