Comments (7)
There needs to be:
- A webkit bug filed/referenced about this issue so that we can understand it and track it.
- A bug filed against Sass, not sass-rails to address any line-length issues in
:compressed
mode.
For sass-rails it sounds like the only issue here is that the config.sass.style
setting is not being respected by the compressor.
Is this a fair assessment?
from sass-rails.
Hi Chris, yes, that would be sufficient :)
from sass-rails.
Great. Can you please file a new bug against sass with the details?
from sass-rails.
Ok I think I might know what is going on here.
At one point in webkit's history they had a parsing bug if you used @charset anywhere but the first line of a file, they would drop everything to the end of the line. It is part of the spec that @charset is only legal on the first line. So to correct this, sass strips out any charset directive and sets a single charset at the top of the file. Perhaps you're using sprockets to concatenate many sass files resulting in triggering this @charset directive bug? If so, you need to file a bug against sprockets to handle this. Otherwise, don't use sprockets require and only use sass import directives.
Please reopen if I have misdiagnosed.
from sass-rails.
@colszowka could you fix this problem? It's happening to me the same.
from sass-rails.
@ekaitzht Sorry, not really. I think I moved over to doing sass include
statements instead of requires, that usually is much better to work with than using sprockets anyway (it also works with plain css files, for example when you import them from bower components), so this went away. Originally I had changed the sass compression method to not compress though, as described in the initial post.
from sass-rails.
@colszowka ok thanks
from sass-rails.
Related Issues (20)
- Where is your ChangeLog? HOT 2
- url imports aren't loaded in 6.0 HOT 1
- On Windows search for libsass.so instead of libsass.dll HOT 2
- SassC::SyntaxError: Error: malformed URL HOT 1
- Post-install message about Ruby Sass end-of-life HOT 2
- bundle failed with gem 'sass-rails', '>= 6'
- Depends on sassc-rails? HOT 1
- Moving from import to use HOT 2
- Glob Imports Not Working HOT 1
- SassC::SyntaxError: Error: style declaration must contain a value issue with deploy on heroku server HOT 1
- error compiling assets with image-url tag HOT 1
- Modern color syntax HOT 5
- var(--tw-empty,/*!*/ /*!*/) wrongly processed
- Switch to embedded dart-sass? HOT 4
- Segmentation fault error when precompiling assets HOT 2
- [ARM64] Creating Rails 6.1.5 app in JRuby 9.3.3.0 fails due to sass-rails relying on C library HOT 2
- Error in production mode on RoR 7.0.3.1 with Bootstrap 5.2
- Installation fails on Windows/Jruby 9.3.9.0 HOT 2
- Scss suffixes is not working
- Swap from `sassc-rails` to `dartsass-rails`? Or Deprecate this gem entirely? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sass-rails.