Skip to content

Commit

Permalink
docs: update plugin example (#7624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing authored Apr 6, 2022
1 parent 1dd019f commit a89ea52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guide/api-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,10 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
const partialConfigPlugin = () => ({
name: 'return-partial',
config: () => ({
alias: {
foo: 'bar'
resolve: {
alias: {
foo: 'bar'
}
}
})
})
Expand Down

0 comments on commit a89ea52

Please sign in to comment.