Skip to content

Commit

Permalink
Fix Vite's defineConfig example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
restless committed Aug 12, 2024
1 parent 9d8ca94 commit fc272ef
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions www/content/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,12 @@ to add the following to your [vite.config.js](https://vitejs.dev/guide/backend-i
import inject from '@rollup/plugin-inject';

export default defineConfig({
build: {
//[...]
plugins: [
inject({
htmx: 'htmx.org',
}),
],
},
build: {...},
plugins: [
inject({
htmx: 'htmx.org',
}),
],
})
```

Expand Down

0 comments on commit fc272ef

Please sign in to comment.