1
0
Fork 0
forked from OpenNeo/impress
impress/app
Emi Matchu 874483eacb Fix SassC::SyntaxError when compiling perfectly valid CSS files
Okay cool, so this was an error that was happening *only* when building
assets for production: Sass's CSS minifier isn't familiar with all
modern CSS syntax (I think is the issue?), and so errors on things that
are actually totally okay.

I had previously worked around this in `swf_assets/show.css` with an
equivalent syntax that Sass recognized. But in this latest case with
the new `fonts.css.erb`, it was upset about the `src` list for the
fonts, and I don't know a workaround for that.

So, let's just disable Sass's CSS minification for now. I imagine the
difference isn't huge when CSS compresses just fine with gzip anyway?
(Most of what you can "minify" in CSS is whitespace, and that largely
seems silly to me when gzip is running.)
2024-09-09 19:59:43 -07:00
..
assets Fix SassC::SyntaxError when compiling perfectly valid CSS files 2024-09-09 19:59:43 -07:00
controllers Remove needed items form on Modeling Hub 2024-09-09 18:56:39 -07:00
helpers Add Customize More button back to item pages 2024-09-06 17:12:11 -07:00
javascript Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Remove needed items form on Modeling Hub 2024-09-09 18:56:39 -07:00
services Upgrade async and related gems, and fix async-http response handling 2024-09-07 12:14:12 -07:00
views Move font definitions into a separate CSS file, using ERB and not Sass 2024-09-09 19:49:51 -07:00