Add exports field in package.json

This commit is contained in:
Hyunseung 2023-12-14 17:59:19 +09:00 committed by GitHub
commit 8a44c0b904
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,11 @@
"license": "Apache-2.0", "license": "Apache-2.0",
"description": "Svelte implementation of the Carbon Design System", "description": "Svelte implementation of the Carbon Design System",
"svelte": "./src/index.js", "svelte": "./src/index.js",
"exports": {
".": {
"svelte": "./src/index.js"
}
},
"main": "./lib/index.js", "main": "./lib/index.js",
"module": "./lib/index.mjs", "module": "./lib/index.mjs",
"types": "./types/index.d.ts", "types": "./types/index.d.ts",