Skip to content

Commit

Permalink
Update deploy.yml to remove problematic minifier step
Browse files Browse the repository at this point in the history
The minifier that Franklin leans on is buggy and, in any case, github pages optimises stuff for us so it's not needed.

In the context of #2006, it will help to disable it to see the generated HTML more clearly.
  • Loading branch information
tlienart authored Jan 11, 2024
1 parent c35d1b4 commit 1930332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
using Franklin;
Franklin.HIGHLIGHTJS[] = abspath(joinpath("_libs", "highlight", "highlight.min.js"));
Franklin.optimize(prerender=true);
Franklin.optimize(prerender=true, minify=false);
cp(joinpath("__site", "feed.xml"), joinpath("__site", "index.xml"))' > build.log
cat build.log
Expand Down

0 comments on commit 1930332

Please sign in to comment.