We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
we upgraded from webpacker to dartsass-sprockets but get now following errors during compilation:
SassC::SyntaxError: Error: Silent comments aren't allowed in plain CSS. ╷ 1 │ //= require jquery-ui/all │ ^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ ../../../../jquery-ui-rails-6.0.1/app/assets/stylesheets/jquery-ui.css 1:1 @import sassc-embedded-import:2 1:9 @import /Users/myuser/coding/myproject/app/assets/stylesheets/customer_layout.css.scss 2:9 root stylesheet ../../.asdf/installs/ruby/3.1.4/lib/ruby/gems/3.1.0/gems/jquery-ui-rails-6.0.1/app/assets/stylesheets/jquery-ui.css:1 Caused by: Sass::CompileError: Silent comments aren't allowed in plain CSS. Tasks: TOP => assets:precompile
It seems that dartsass tries to compile .css files (not .scss files) - how can I fix this?
The text was updated successfully, but these errors were encountered:
The workaround is to rename everything to .scss.
Sorry, something went wrong.
No branches or pull requests
Hi,
we upgraded from webpacker to dartsass-sprockets but get now following errors during compilation:
It seems that dartsass tries to compile .css files (not .scss files) - how can I fix this?
The text was updated successfully, but these errors were encountered: