-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to disable source maps #58
Comments
As I understand Sass complains about this? If so, then the question is probably to Sass not to this bundle. About this:
IIRC that's exactly what add that Could you just try to pick up the options that fit your needs by executing that internal |
Thank you, @bocharsky-bw I tried following code My css file has a sourcemap link in it - I don't want that. 👎 I tried the following code My css file has no sourcemap link in it - I really want that 👍 -- My point is that it seems, that these options symfonycasts_sass:
sass_options:
source_map: false
style: expanded it is added as Because these options always have to be a boolean value it is currently not possible to disable it at all (e.g. |
I'm sorry i believed i sorted this .... but it reality i did not. 2 things: i do believe this option (embed source maps) should be without default (especially because with AssetMapper the source maps do not work so..) To fix things, i can hard-code a test to remove the 2 source maps options if sourcemap is false ? wdyt @bocharsky-bw ? |
Hm, I'm not sure I got it... OK, |
That's the point: if we set it to false, it is always outputted - and combining is forbidden. A solution could be to remove all |
I'll do that |
Hey @alexanderjakob Could you give #59 a try, please? Does it solve your problem? |
@bocharsky-bw |
Hey everybody,
I'm trying to disable the output of the link to a source map URL - I don't want to have a source map comment in my generated CSS file. My first thought was: this is easy, just set inside sass_options node
source_map: false
- didn't work. Ok, just setembed_source_map: false
- didn't work.Command: '/var/www/html/var/dart-sass/sass' '/var/www/html/assets/website/styles/main.scss:/var/www/html/var/sass/main.output.css' '--style=expanded' '--no-source-map' '--no-embed-source-map'
--embed-source-map isn't allowed with --no-source-map.
So, it seems that the combination of these options is not allowed - can you guys help me out and tell me how to disable it.
Thank you in advance!
The text was updated successfully, but these errors were encountered: