Optimize inline of postman.css
This commit is contained in:
parent
5023b494b1
commit
743f326343
4 changed files with 7 additions and 0 deletions
1
Gemfile
1
Gemfile
|
@ -10,6 +10,7 @@ gem "nanoc", "~> 4.12"
|
||||||
gem "nanoc-gzip.rb"
|
gem "nanoc-gzip.rb"
|
||||||
gem "nanoc-webpack.rb", "~> 0.10"
|
gem "nanoc-webpack.rb", "~> 0.10"
|
||||||
gem "nanoc-tidy.rb", "~> 0.8.4"
|
gem "nanoc-tidy.rb", "~> 0.8.4"
|
||||||
|
gem "rainpress"
|
||||||
|
|
||||||
##
|
##
|
||||||
# dev
|
# dev
|
||||||
|
|
|
@ -87,6 +87,7 @@ GEM
|
||||||
racc (1.8.1)
|
racc (1.8.1)
|
||||||
rack (3.1.7)
|
rack (3.1.7)
|
||||||
rainbow (3.1.1)
|
rainbow (3.1.1)
|
||||||
|
rainpress (1.0.1)
|
||||||
rake (13.2.1)
|
rake (13.2.1)
|
||||||
rb-fsevent (0.11.2)
|
rb-fsevent (0.11.2)
|
||||||
rb-inotify (0.11.1)
|
rb-inotify (0.11.1)
|
||||||
|
@ -155,6 +156,7 @@ DEPENDENCIES
|
||||||
nanoc-tidy.rb (~> 0.8.4)
|
nanoc-tidy.rb (~> 0.8.4)
|
||||||
nanoc-webpack.rb (~> 0.10)
|
nanoc-webpack.rb (~> 0.10)
|
||||||
paint (~> 2.3)
|
paint (~> 2.3)
|
||||||
|
rainpress
|
||||||
rake (~> 13.2)
|
rake (~> 13.2)
|
||||||
rexml (~> 3.3.3)
|
rexml (~> 3.3.3)
|
||||||
ryo.rb
|
ryo.rb
|
||||||
|
|
1
Rules
1
Rules
|
@ -35,6 +35,7 @@ Nanoc::Tidy
|
||||||
##
|
##
|
||||||
# See packages/typescript/postman
|
# See packages/typescript/postman
|
||||||
compile "/css/vendor/postman.css" do
|
compile "/css/vendor/postman.css" do
|
||||||
|
filter(:rainpress)
|
||||||
write("/css/vendor/postman.css")
|
write("/css/vendor/postman.css")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
** vNEXT
|
** vNEXT
|
||||||
|
|
||||||
|
**** Optimize inline of ~postman.css~
|
||||||
|
The inlined CSS is minified before being inserted into HTML documents
|
||||||
|
|
||||||
**** Remove KaiOS breakpoints
|
**** Remove KaiOS breakpoints
|
||||||
There is a separate branch (~kaios/main~) for KaiOS support
|
There is a separate branch (~kaios/main~) for KaiOS support
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue