Skip to content

Commit 3ad1967

Browse files
committed
fix: export the node/index.mjs
1 parent 29dbac0 commit 3ad1967

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"description": "A CSS parser, transformer, and minifier written in Rust",
66
"main": "node/index.js",
77
"types": "node/index.d.ts",
8+
"exports": {
9+
"require": "./node/index.js",
10+
"import": "./node/index.mjs"
11+
},
812
"targets": {
913
"main": false,
1014
"types": false

0 commit comments

Comments
 (0)