Migrate npm run scripts to Rakefile tasks

Rakefile is like Makefile - it has dependency management,
while npm run scripts do not.

Aside from that, this also allows us to drop literally all Node.js packages,
as uglify-js is self-contained and has no dependencies.
Reduced node_modules from 17M to 374K.
This commit is contained in:
iBug
2024-05-05 04:03:07 +08:00
parent 6165d896a0
commit 0b8b5230f9
6 changed files with 39 additions and 1783 deletions
+2 -1
View File
@@ -5,7 +5,7 @@ permalink: "/docs/history/"
excerpt: Change log of enhancements and bug fixes made to the theme.
sidebar:
nav: docs
last_modified_at: '2024-05-05T03:17:32+08:00'
last_modified_at: '2024-05-05T04:00:39+08:00'
toc: false
---
@@ -31,6 +31,7 @@ toc: false
- Rewrite skin previews on `05-configuration.md` in Liquid template.
- Remove unused classes from `_layouts/single.html`.
- Migrate npm run scripts to Ruby Rake tasks.
## [4.25.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.25.1)