We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd593c2 commit 27df49dCopy full SHA for 27df49d
README.md
@@ -74,8 +74,9 @@ A simple example using loadcss-rails looks like:
74
<script>
75
loadCSS("<%= stylesheet_path('application') %>");
76
</script>
77
+<link rel="preload" href="<%= stylesheet_path('application') %>" as="style" onload="this.rel='stylesheet'">
78
<noscript>
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
79
+ <link rel="stylesheet" href="<%= stylesheet_path('application') %>">
80
</noscript>
81
```
82
lib/critical_path_css/rails/version.rb
@@ -1,6 +1,6 @@
1
module CriticalPathCSS
2
module Rails
3
- VERSION = '0.2.2'
+ VERSION = '0.2.3'
4
PENTHOUSE_VERSION = '0.3.4'
5
end
6
0 commit comments