chore: initialize Vite project with Automerge dependencies

Set up project scaffold for a P2P polling app:
- package.json with @automerge/vanillajs, automerge-repo, vite deps
- vite.config.js with wasm and top-level-await plugins required by Automerge
- pnpm-lock.yaml lockfile
- .gitignore excluding node_modules

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
ako
2026-03-11 14:48:56 +01:00
parent 4275cbd795
commit 812098a6bb
4 changed files with 1114 additions and 0 deletions

7
vite.config.js Normal file
View File

@@ -0,0 +1,7 @@
import { defineConfig } from 'vite'
import wasm from 'vite-plugin-wasm'
import topLevelAwait from 'vite-plugin-top-level-await'
export default defineConfig({
plugins: [wasm(), topLevelAwait()]
})