I'm getting the following warning when running a node app using the latest versison of pngquant-bin:
(node:23173) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /root/workspace/myspace/node_modules/pngquant-bin/ resolving the main entry point "index.js", imported from /root/workspace/myspace/myapp.js.
Default "index" lookups for the main are deprecated for ES modules.
I'm getting the following warning when running a node app using the latest versison of
pngquant-bin
: