Closed tomasklaen closed 2 years ago
Node 16.10.0
+1 , getting this issue when implementing a workaround for gulp-imagemin by importing the imagemin-*
pages directly.
node:63922) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /Users/phil/dev/frontend-boilerplate/node_modules/imagemin-svgo/ resolving the main entry point "index.js", imported from /Users/phil/dev/frontend-boilerplate/gulpfile.js.
Default "index" lookups for the main are deprecated for ES modules.
(Use `node --trace-deprecation ...` to show where the warning was created)
Hi, it would be nice to merge PR from replete which solves this warning. Cheers
Node 16.9.1