fix(amis-editor-core): 简化exports (#6424)

This commit is contained in:
刘丹 2023-03-21 14:22:25 +08:00 committed by GitHub
parent 4f4ca56008
commit fe2b7fdeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,20 +10,11 @@
"require": "./lib/index.js", "require": "./lib/index.js",
"import": "./esm/index.js" "import": "./esm/index.js"
}, },
"./lib/style.css": {
"style": "./lib/style.css",
"require": "./lib/style.css",
"import": "./lib/style.css"
},
"./lib/*": { "./lib/*": {
"require": "./lib/*", "require": "./lib/*",
"import": "./esm/*" "import": "./esm/*"
}, },
"./scss/*": { "./lib/style.css": "./lib/style.css",
"style": "./scss/*",
"require": "./scss/*",
"import": "./scss/*"
},
"./*": { "./*": {
"require": "./lib/*.js", "require": "./lib/*.js",
"import": "./esm/*.js" "import": "./esm/*.js"