The concat-text-webpack-plugin
is nested deep in some package, and errors when I have NextJS and Node 18.
error concat-text-webpack-plugin@0.2.1: The engine "node" is incompatible with this module. Expected version ">=8 <=16". Got "18.16.0"
error Found incompatible module.
It's fine with Node 16. Looking into the package code there is a line
"engines": {
"node": ">=8 <=16"
},
which blocks using Node 18+. The repo is archived and cannot be PR'd.
How can I use this with Node 18+?