Skip to content

Commit f64e883

Browse files
committed
fix: unknown extension .svelte
1 parent e15946c commit f64e883

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"rollup-plugin-postcss": "^4.0.2",
3737
"rollup-plugin-replace": "^2.2.0",
3838
"rollup-plugin-svelte": "^7.1.4",
39-
"svelte": "^3.58.0",
4039
"sirv-cli": "^2.0.2",
40+
"svelte": "^3.58.0",
4141
"svelte-highlight": "^7.2.1",
4242
"svelte-preprocess": "^5.0.3",
4343
"svelte-tiny-virtual-list": "^2.0.5",
@@ -63,6 +63,12 @@
6363
}
6464
},
6565
"type": "module",
66+
"exports": {
67+
".": {
68+
"svelte": "./index.js",
69+
"types": "./index.d.ts"
70+
}
71+
},
6672
"dependencies": {
6773
"@floating-ui/dom": "^1.2.1",
6874
"svelte-floating-ui": "1.2.8"

0 commit comments

Comments
 (0)