1
0
Fork 0
forked from OpenNeo/impress
impress/app/assets
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
..
builds Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
config Upgrade to latest Sass and Sprockets 2023-10-23 19:05:09 -07:00
fonts Migrate from Droid fonts to Noto fonts, and host them locally 2024-09-09 19:31:41 -07:00
images Add announcement about new item page, replacing the hidden Neopass one 2024-09-06 11:47:17 -07:00
javascripts Remove unused DEBUG variable from pets/bulk.js 2024-09-09 19:05:07 -07:00
stylesheets Fix SassC::SyntaxError when compiling perfectly valid CSS files 2024-09-09 19:59:43 -07:00