Skip to content

Commit

Permalink
Move Vite 'plugins' property to root level in config.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmacarthur authored Dec 5, 2023
1 parent 911b11c commit 4626ccf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/copy-library-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ import { partytownVite } from '@builder.io/partytown/utils';

export default ({ command }) => ({
build: {
plugins: [
partytownVite({
dest: path.join(__dirname, 'dist', '~partytown'),
}),
],
},
plugins: [
partytownVite({
dest: path.join(__dirname, 'dist', '~partytown'),
}),
],
});
```

Expand Down

0 comments on commit 4626ccf

Please sign in to comment.