Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

powersync-vite-plugin.ts

17 lines303 Bytes

1import type { Plugin } from 'vite'
2​
3export default function powersyncVite(): Plugin {
4 return {
5 name: 'powersync-vite',
6 config() {
7 return {
8 optimizeDeps: {
9 exclude: ['@powersync/web'],
10 },
11 worker: {
12 format: 'es',
13 },
14 }
15 },
16 }