Commit 35c1708
Inline assets in the CSS using Sprockets
This proc changes `url()` calls in *.css
e.g.) background-image: url("DataTables-1.10.20/images/sort_both.png");
into base64 encoded inline image via `rake assets:compile`.
Note that all images referenced in CSS will be loaded this way, whether
or not the user enables SIMPLECOV_INLINE_ASSETS option.
This idea and code is taken from
#113 by @AMHOL
Co-authored-by: AMHOL <[email protected]>1 parent 6ebb78a commit 35c1708
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| |||
0 commit comments