Skip to content

Commit 458e636

Browse files
authored
Fix deprecated folder mapping "./" in the "exports" field module resolution (#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)
2 parents b9157fa + 93359b7 commit 458e636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"import": "./lib/postcss.mjs",
1212
"types": "./lib/postcss.d.ts"
1313
},
14-
"./": "./"
14+
"./*": "./*"
1515
},
1616
"main": "./lib/postcss.js",
1717
"types": "./lib/postcss.d.ts",

0 commit comments

Comments
 (0)