🚨(react) fix package json

fix error: Module not found: Error: Default condition should be last one
This commit is contained in:
Romain Le Cellier
2023-05-12 14:53:13 +02:00
parent 87b328292b
commit 4777a75631

View File

@@ -11,8 +11,8 @@
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"exports": { "exports": {
".": { ".": {
"default": "./dist/index.js", "types": "./dist/index.d.ts",
"types": "./dist/index.d.ts" "default": "./dist/index.js"
}, },
"./style": "./dist/style.css", "./style": "./dist/style.css",
"./fonts": "./dist/fonts.css", "./fonts": "./dist/fonts.css",