Skip to content

Commit

Permalink
added back minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticspoon committed Jun 22, 2023
1 parent 8b61f97 commit f8db234
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ gem "kramdown-parser-gfm"
gem "sass"
gem "kramdown"
gem "webrick"
# gem "jekyll-minifier"
gem "jekyll-minifier"
15 changes: 15 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ GEM
brotli (0.2.3)
colorator (1.1.0)
concurrent-ruby (1.2.2)
cssminify2 (2.0.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
execjs (2.8.1)
ffi (1.15.5)
forwardable-extended (2.6.0)
google-protobuf (3.23.3-x86_64-linux)
htmlcompressor (0.4.0)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
Expand All @@ -37,6 +40,12 @@ GEM
jekyll (>= 3.0, < 5.0)
jekyll-gzip (2.5.1)
jekyll (>= 3.0, < 5.0)
jekyll-minifier (0.1.10)
cssminify2 (~> 2.0)
htmlcompressor (~> 0.4)
jekyll (>= 3.5)
json-minify (~> 0.0.3)
uglifier (~> 4.1)
jekyll-paginate-v2 (3.0.0)
jekyll (>= 3.0, < 5.0)
jekyll-postfiles (3.1.0)
Expand All @@ -48,6 +57,9 @@ GEM
jekyll-watch (2.2.1)
listen (~> 3.0)
jekyll-webp (1.0.0)
json (2.6.3)
json-minify (0.0.3)
json (> 0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
Expand Down Expand Up @@ -75,6 +87,8 @@ GEM
rb-inotify (~> 0.9, >= 0.9.7)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.4.2)
webrick (1.8.1)

Expand All @@ -85,6 +99,7 @@ DEPENDENCIES
jekyll
jekyll-brotli
jekyll-gzip
jekyll-minifier
jekyll-paginate-v2
jekyll-postfiles
jekyll-sitemap
Expand Down
9 changes: 4 additions & 5 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ plugins:
- jekyll-sitemap
- jekyll-webp
- jekyll-postfiles
- jekyll-minifier
- jekyll-brotli
- jekyll-gzip
# - jekyll-minifier

# Settings for img to webp conversion
# TODO: Chaneg this out to a better plugin.
Expand Down Expand Up @@ -346,9 +346,8 @@ pagination:
sort_field: "date"
sort_reverse: true
title: ":title"
# jekyll-minifier:
# uglifier_args:
# harmony: true

jekyll-minifier:
uglifier_args:
harmony: true
# Beautiful Jekyll / Dean Attali
# 2fc73a3a967e97599c9763d05e564189

0 comments on commit f8db234

Please sign in to comment.