Skip to content

Commit d0792a4

Browse files
committed
exports only index.ts on packaging
1 parent b01b645 commit d0792a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

svelte.config.js

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const config = {
1717

1818
files: {
1919
assets: "src/static"
20+
},
21+
22+
package: {
23+
exports: (filepath) => filepath === 'index.ts'
2024
}
2125
}
2226
};

0 commit comments

Comments
 (0)