Skip to content

[Documentation] Update documentation with installation instructions for Vite. #479

Open
@samwightt

Description

Vite has specific settings that need to be set in vite.config.ts and vitest.config.ts in order for it to work with Evolu. Those are:

export default defineConfig({
	worker: {
		format: "es",
	},
	optimizeDeps: {
		exclude: ["@evolu/react", "@sqlite.org/sqlite-wasm"],
		include: ["react-dom"],
	},
})

It would be great if this was included as part of the installation instructions!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions