Fix package

This commit is contained in:
Ryan Gossiaux
2021-12-22 15:07:33 -08:00
parent 014357833f
commit 7a5c22cce0
3 changed files with 1 additions and 4 deletions

View File

@@ -9,9 +9,6 @@
"license": "MIT",
"repository": "github:rgossiaux/svelte-headlessui",
"version": "1.0.0-beta.1",
"exports": {
".": "./src/lib/index.ts"
},
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",

View File

@@ -15,7 +15,7 @@ const config = {
adapter: adapter(),
package: {
exports: (filepath) => {
return filepath.endsWith("src/lib/index.ts");
return filepath.endsWith("index.js");
}
},