mirror of
https://github.com/jimeh/commonflow.org.git
synced 2026-02-19 05:46:40 +00:00
Enable asset compression
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -25,6 +25,7 @@ group :jekyll_plugins do
|
|||||||
gem 'jekyll-pants'
|
gem 'jekyll-pants'
|
||||||
gem 'jekyll-seo-tag'
|
gem 'jekyll-seo-tag'
|
||||||
gem 'jekyll-sitemap'
|
gem 'jekyll-sitemap'
|
||||||
|
gem 'uglifier' # required by 'jekyll-assets' for JS compression
|
||||||
end
|
end
|
||||||
|
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
|
|||||||
@@ -219,6 +219,8 @@ GEM
|
|||||||
ethon (>= 0.8.0)
|
ethon (>= 0.8.0)
|
||||||
tzinfo (1.2.3)
|
tzinfo (1.2.3)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
|
uglifier (3.2.0)
|
||||||
|
execjs (>= 0.3.0, < 3)
|
||||||
unicode-display_width (1.3.0)
|
unicode-display_width (1.3.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
@@ -233,6 +235,7 @@ DEPENDENCIES
|
|||||||
rake
|
rake
|
||||||
rubocop
|
rubocop
|
||||||
tzinfo-data
|
tzinfo-data
|
||||||
|
uglifier
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.14.6
|
1.14.6
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ defaults:
|
|||||||
|
|
||||||
assets:
|
assets:
|
||||||
digest: true
|
digest: true
|
||||||
|
compress:
|
||||||
|
css: true
|
||||||
|
js: true
|
||||||
|
|
||||||
markdown: kramdown
|
markdown: kramdown
|
||||||
kramdown:
|
kramdown:
|
||||||
|
|||||||
Reference in New Issue
Block a user