Skip to content

Commit

Permalink
fix: exports configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jul 2, 2024
1 parent 546ac0a commit a058921
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "1.3.0",
"description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.",
"main": "./dist/font.js",
"type": "module",
"module": "./dist/font.js",
"typings": "font.d.ts",
"types": "font.d.ts",
"types": "./font.d.ts",
"scripts": {
"prepare": "cp ../../LICENSE.TXT ."
},
Expand All @@ -26,29 +26,24 @@
],
"exports": {
"./font": {
"import": "./dist/font.js",
"require": "./dist/font.js",
"default": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/font.js"
},
"./font/mono": {
"import": "./dist/mono.js",
"require": "./dist/mono.js",
"default": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/mono.js"
},
"./font/mono-non-variable": {
"import": "./dist/mono-non-variable.js",
"require": "./dist/mono-non-variable.js",
"default": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/mono-non-variable.js"
},
"./font/sans": {
"import": "./dist/sans.js",
"require": "./dist/sans.js",
"default": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/sans.js"
},
"./font/sans-non-variable": {
"import": "./dist/sans-non-variable.js",
"require": "./dist/sans-non-variable.js",
"default": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/sans-non-variable.js"
}
},
"license": "SIL OPEN FONT LICENSE",
Expand Down

0 comments on commit a058921

Please sign in to comment.