Skip to content

Commit

Permalink
Recommend extends instead adding plugins to vite conf directly (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbritto-dev authored Apr 23, 2024
1 parent fa3457a commit eafa310
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/docs/open-source/plugins/plugin-vitepress.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ import { OramaPlugin } from '@orama/plugin-vitepress'

export default {
// ...
vite: {
plugins: [OramaPlugin()],
},
// ...
extends: {
vite: {
plugins: [OramaPlugin()],
},
}
}
```

Expand Down

0 comments on commit eafa310

Please sign in to comment.