Files snapshot from file-caching

Node 18 / Getting Rid of Lodash

#completed

Git branch: node-18

Goal: Get this plugin working on node 18

11ty runs on node 18, so it would be nice if this would also work on node 18.

Jan 31, 2026

Steps so far:

  • add a Dockerfile FROM node:18

Snags so far:

  • the version of webpack I'm using for building the frontend does not work on node 18
    • check out rollup? Seems to be the new js bundleroftheweek.
    • https://github.com/rollup/rollup/issues/5497 mentions that rollup v4 works with node 18
  • node's path.matchesGlob function is not available in node 18.
    • there is a library, glob that is a regular JS implementation for glob matching

Feb 1, 2026

  • Replaced webpack with rollup
  • Replaced lodash with escape-html
  • Only a few functions needed to be changed to to work with node 18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
26ee4f Tucker McKnight
26ee4f Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
4b4153 Tucker McKnight
4b4153 Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
4b4153 Tucker McKnight
26ee4f Tucker McKnight
26ee4f Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
f72d85 Tucker McKnight
# Node 18 / Getting Rid of Lodash

\#completed

Git branch: `node-18`

> Goal: Get this plugin working on node 18

11ty runs on node 18, so it would be nice if this would also work on node 18.

## Jan 31, 2026

Steps so far:
- add a Dockerfile `FROM node:18`

Snags so far:
- the version of webpack I'm using for building the frontend does not work on node 18
  - check out rollup? Seems to be the new js bundleroftheweek.
  - https://github.com/rollup/rollup/issues/5497 mentions that rollup v4 works with node 18
- node's `path.matchesGlob` function is not available in node 18.
  - there is a library, [glob](https://www.npmjs.com/package/glob) that is a regular JS implementation for glob matching

## Feb 1, 2026

- Replaced webpack with rollup
- Replaced lodash with escape-html
- Only a few functions needed to be changed to to work with node 18