sass-bundle
sass-bundle copied to clipboard
Delightful Sass Support for Symfony + AssetMapper
…ill be removed in Dart Sass 3.0.0.
Hi, I wanted to use .sass files in my project and I noticed that they aren't handled correctly in sass-bundle. It is easily fixed by adding: ```php if (str_contains($path, '.sass'))...
First of all, thanks a lot for this package! There is a question - there is a validation that prohibits naming scss files the same way, even if they are...
My sass bundle configuration looks something like this: ``` symfonycasts_sass: root_sass: - '%kernel.project_dir%/assets/styles/app.scss' ``` In the app.scss file, I then have imports like this: ``` @import '../components/AppProvider/AppProvider'; @import '../components/ActionList/ActionList'; @import...
When importing bootstrap sass from vendor, like in documentation (https://symfony.com/bundles/SassBundle/current/index.html#using-bootstrap-sass), if bootstrap is older version, deprecations warnings appear on sass:build (DEPRECATION WARNING: Using / for division outside of calc() is...
Hello, I try this new amazing bundle, but maybe I miss something. When I create e.g a home.scss, and add `` in my home.html.twig template and then run `php bin/console...
In the documentation for integrating Bootstrap, it is recommended to `composer require twbs/bootstrap` then `@import '../../vendor/twbs/bootstrap/scss/bootstrap'`. It becomes cumbersome, tedious, ugly, etc. to maintain relative pathing like that. If you...
SassBinary.php: 135 file_exists('/etc/alpine-release') ? 'linux-musl' : 'linux'; On bin/console sass:build -> critical Error because System didnt allow to check this path. Fixed it by hardcoding the variable to "linux"
Suppose this setup: ``` /* assets/styles/app.scss */ import 'tools/base'; ``` ``` /* assets/styles/tools/base.scss */ .splash { background-image: url('../../images/login-bg.png'); } ``` The image lives at `assets/images/login-bg.png`, so the relative path above...
The current implementation of the construction of the path for Sass binary relies on the expectation that the main entry point is always named `sass`: https://github.com/SymfonyCasts/sass-bundle/blob/aa47da8ae43136a21a764eedb1471f2a168359cb/src/SassBinary.php#L162-L165 But this is not...