Skip to content

Commit

Permalink
Fix deprecated folder mapping "./" in the "exports" field module reso…
Browse files Browse the repository at this point in the history
…lution (#1456)

NodeJS v15.1.0

(node:19936) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at D:\0\node_modules\postcss\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
  • Loading branch information
ai committed Nov 5, 2020
2 parents b9157fa + 93359b7 commit 458e636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"import": "./lib/postcss.mjs",
"types": "./lib/postcss.d.ts"
},
"./": "./"
"./*": "./*"
},
"main": "./lib/postcss.js",
"types": "./lib/postcss.d.ts",
Expand Down

0 comments on commit 458e636

Please sign in to comment.