Skip to content

v2.0.7

Compare
Choose a tag to compare
@RickCogley RickCogley released this 17 Jan 10:22
· 34 commits to main since this release
750cf23

Per Oscar, javascript script is adding the class is-loaded to the body element once it loads, which shows the site with a small animation. Because purgecss does not detect this in the HTML when processing, the CSS code is removed. Lume does NOT read copied files, and we had the js files being copied via site.copy("assets") in the config. Oscar's fix was to load the js instead of copying:

site.copy("assets/img");
site.loadAssets([".js"]);

Oscar intends to fix this in Lume 3, prioritizing loading over copying files.

What's Changed

Full Changelog: v2.0.6...v2.0.7