We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4246be3 commit 1b8ddbfCopy full SHA for 1b8ddbf
lib/index.js
@@ -14,7 +14,7 @@
14
* Whether to include positional information.
15
*/
16
17
-import {color} from 'unist-util-inspect/do-not-use-conditional-color'
+import {color} from '#conditional-color'
18
19
/**
20
* Inspect a node, with color in Node, without color in browsers.
package.json
@@ -26,8 +26,10 @@
26
"sideEffects": false,
27
"type": "module",
28
"exports": {
29
- ".": "./index.js",
30
- "./do-not-use-conditional-color": {
+ ".": "./index.js"
+ },
31
+ "imports": {
32
+ "#conditional-color": {
33
"node": "./lib/color.node.js",
34
"default": "./lib/color.default.js"
35
}
0 commit comments