# 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
