fix: Trying to make it importable on the other side
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 20s
Some checks failed
Publish Svelte Tailwind Library / build-and-publish (push) Failing after 20s
This commit is contained in:
12
package.json
12
package.json
@@ -2,7 +2,12 @@
|
|||||||
"name": "@luke-else/component-lib",
|
"name": "@luke-else/component-lib",
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "./dist/index.js",
|
||||||
|
"module": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"package": "svelte-package",
|
"package": "svelte-package",
|
||||||
"build": "pnpm run package",
|
"build": "pnpm run package",
|
||||||
@@ -11,8 +16,9 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"svelte": "./dist/index.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"default": "./dist/index.ts"
|
"svelte": "./dist/index.js",
|
||||||
|
"default": "./dist/index.js"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
Reference in New Issue
Block a user