Skip to content

Commit

Permalink
Switch to jsmin
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone committed Nov 4, 2023
1 parent 50fdaeb commit 9b694e0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
26 changes: 17 additions & 9 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def __post_init__(self):
),
{
"output": "js/fuji.min.js",
"filters": ["closure_js"],
"filters": ["jsmin"],
},
),
# Disabled - STILL - because for some reason this CSS doesn't apply in the site
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,19 @@ dependencies = [
"pelican-gist",
"pelican-githubprojects",
"pelican-photos ~= 1.5.0",
# "pelican-photos @ git+https://github.com/pelican-plugins/photos.git",
"pelican-simple-footnotes",
"pelican-sitemap",
"pelican-tag-cloud",
"pelican-webassets",
# 👇🏻 this is required by webassets, and I need my version because it uses importlib
"closure @ git+https://github.com/offbyone/python-closure.git@importlib",
# 👇🏻 this is required by webassets' jsmin
"jsmin~=3.0.1",
"pelican>=4.5",
"piexif",
"python-slugify>=4.0",
"rich",
"webassets",
"wheel",
"ruff>=0.1.3",
"ruff~=0.1.3",
]

[[authors]]
Expand Down

0 comments on commit 9b694e0

Please sign in to comment.