Skip to content

Commit 7fe51e9

Browse files
authored
docs: remove svelte-kit note [skip ci]
1 parent 457e0f0 commit 7fe51e9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ To use `svelte-codemirror-editor`, you need to import the package and use it as
5252

5353
## Usage with vite / svelte-kit
5454

55-
If you try to use this component, you have to disable dependency optimization for `codemirror` and its extensions:
55+
If you try to use this component with `vite` or `svelte-kit`, you have to disable dependency optimization for `codemirror` and all its extensions.
5656

5757
```javascript
58+
// vite.config.js
5859
const config = {
5960
//...
6061
optimizeDeps: {
@@ -64,8 +65,6 @@ const config = {
6465
}
6566
```
6667

67-
*Note: on svelte-kit, this parameter is under the `kit` property.*
68-
6968
## Exemples
7069

7170
### Basic usage

0 commit comments

Comments
 (0)