loro/crates/loro-wasm/vite.config.ts
Zixuan Chen 62a3a93552
Refactor: merge two js packages (#532)
* feat: make vitest tests pass

* chore: update readme & add deno test for web bundle

* chore: bump version to 1.0.8-alpha.0

* chore: bump loro-crdt version

* fix: build script
export init method from loro-wasm/web

* chore: bump version

* chore: specify which files to include for npm publish

* refactor: rename loro-js to loro-js-test

* refactor: remove the old loro-js folder

* fix: build scripts

* chore: 1.0.8-alpha.3

* chore: add release info
2024-10-29 21:46:56 +08:00

13 lines
260 B
TypeScript

import { configDefaults, defineConfig } from 'vitest/config'
import wasm from "vite-plugin-wasm";
export default defineConfig({
plugins: [wasm()],
test: {
exclude: [
...configDefaults.exclude,
"deno/*",
"deno_tests/*"
]
},
});