You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/index.rst
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,6 +142,21 @@ To see the full config from this bundle, run:
142
142
143
143
The main option is ``root_sass`` option, which defaults to ``assets/styles/app.scss``. This represents the source Sass file.
144
144
145
+
.. caution::
146
+
147
+
When defining multiple ``root_sass`` paths, the ``root_sass`` filenames (e.g. ``app.scss``) should be unique, due to the way the css files are generated.
148
+
149
+
To overcome the need of having unique ``root_sass`` filenames, you could use keys to influence the generated css filename:
150
+
151
+
.. code-block:: yaml
152
+
153
+
symfonycasts_sass:
154
+
root_sass:
155
+
admin: assets/admin/styles/app.scss
156
+
website: assets/website/styles/app.scss
157
+
158
+
The compiled css files will be named `website.css` and `admin.css`.
0 commit comments