Elixir Docs: Unable to Delete Additional Folders

The Elixir V4 docs have a section on adding additional folders to the list that gets purged using CleanWebpackPlugin here: Deleting Files & Directories - ColdBox Elixir

However, whenever I try to execute the code, I get an error:
TypeError: CleanWebpackPlugin is not a constructor

I searched for the problem, and found that people needed to change the import statement from this:
const CleanWebpackPlugin = require("clean-webpack-plugin");
to this:
const { CleanWebpackPlugin } = require("clean-webpack-plugin");

However, now I get a different error that I can’t find a solution to:
clean-webpack-plugin only accepts an options object

I checked the cleanWebpack documentation and the instructions look quite different than the Elixir documentation. I believe the Elixir docs are out of date. Does anyone know how you can add additional directories for cleaning? I’d like to add /includes/html/ to the list of folders that are cleaned.