mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: add exports
field to package.json (#1864)
Add an `exports` field to resolve a Vite development warning. The `package.json#svelte` entry field is deprecated and will eventually no longer be used.
This commit is contained in:
parent
292881dc3e
commit
7bef3fae62
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,13 @@
|
||||||
"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"
|
||||||
|
},
|
||||||
|
"./css/*": "./css/*",
|
||||||
|
"./src/*": "./src/*"
|
||||||
|
},
|
||||||
"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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue