From 3aa2c88a9714ec9145757b15f2105eb6a5dfabdc Mon Sep 17 00:00:00 2001 From: Patryk Padus <2671726+Triloworld@users.noreply.github.com> Date: Sat, 30 Oct 2021 18:25:30 +0200 Subject: [PATCH] Fix DEP0148 warning message ERROR (node:69269) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Volumes/Dane/Repozytoria/osklad.pl/node_modules/@nuxtjs/sanity/package.json. Update this package.json to use a subpath pattern like "./*". (Use `node --trace-deprecation ...` to show where the warning was created) Node: v16.11.1 NPM: 8.0.0 It is compatible with Node v12 as this state: https://github.com/postcss/postcss/issues/1455#issuecomment-722502548 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e3e7c1c6..e6691893 100755 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "import": "./dist/module.es.js" }, "./": "./", + "./*": "./*", "./sanity-content": "./dist/components/sanity-content.js", "./sanity-file": "./dist/components/sanity-file.js", "./sanity-image": "./dist/components/sanity-image.js"