Skip to content

Commit 7340569

Browse files
committed
docs: update README
1 parent bf61652 commit 7340569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Library to show Javascript objects in a nice tree layout. It's written in Svelte
1010

1111
## How to use
1212

13-
At one point there were some issues packaging this library with SvelteKit, partly because it's written in TypeScript as well as ensuring you import the library using "svelte" entry point, not "main" or "module". AFAIK most problems have now been solve with SvelteKit and Vite, see examples in `packages/site` and `packages/vite-site`. Previously you might had had to add a `mainFields` property with values like `['svelte', 'module', 'browser', 'main']`.
13+
The package should work without extra setup with both SvelteKit and Vite, see examples in `packages/site` and `packages/vite-site`. Previously, at least with Rollup, you had to add a `mainFields` property with values like `['svelte', 'module', 'browser', 'main']` to ensure it was imported as a Svelte component.
1414

1515
To use it:
1616

0 commit comments

Comments
 (0)