nuxt / components

Scan and auto import components for Nuxt.js 2.13+
MIT License
887 stars 48 forks source link

Fix deprecated folder mapping: (node:5173) [DEP0148] #188

Closed amprsnd closed 3 years ago

amprsnd commented 3 years ago

(node:5173) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /node_modules/@nuxt/components/package.json.

Update this package.json to use a subpath pattern like "./*".

(Use node --trace-deprecation ... to show where the warning was created)

node version: 16.0.0

pi0 commented 3 years ago

Thanks for PR. Should be solved in 2.1.7