Skip to content

Commit

Permalink
chore: optimize zarm icon export module type (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinasonlin committed Apr 15, 2024
1 parent aa51f1f commit e82f7ad
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions packages/zarm-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@
"license": "MIT",
"author": "jerome.lin@zhongan.com",
"exports": {
".": "./lib/index.js",
"./style": "./lib/style/index.scss",
"./style/font": "./lib/font/style/icon.scss"
".": {
"import": "./es/index.js",
"default": "./lib/index.js"
},
"./style": {
"import": "./es/style/index.scss",
"default": "./lib/style/index.scss"
},
"./style/font": {
"import": "./es/font/style/icon.scss",
"default": "./lib/font/style/icon.scss"
}
},
"main": "lib/index.js",
"module": "es/index.js",
Expand Down

0 comments on commit e82f7ad

Please sign in to comment.